:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #647067;
  --line: #d9dfd7;
  --green: #1f7a4d;
  --green-soft: #e7f4ec;
  --blue: #2459a6;
  --blue-soft: #e8eef8;
  --amber: #9a6500;
  --amber-soft: #fff4d8;
  --red: #ad3434;
  --red-soft: #fae6e5;
  --shadow: 0 16px 35px rgba(30, 42, 34, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.topbar h1,
.hero h2,
.plain-hero h2 {
  margin: 0;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill {
  border: 1px solid var(--line);
  background: var(--amber-soft);
  color: var(--amber);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  line-height: 1.2;
  max-width: min(100%, 560px);
  text-align: center;
  white-space: normal;
}

.layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  min-height: calc(100vh - 90px);
}

.sidebar {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #eef2ed;
}

.workspace {
  padding: 24px 28px 42px;
  min-width: 0;
}

.panel,
.hero,
.plain-hero,
.summary-strip,
.intake-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 20px;
  margin-bottom: 18px;
}

.panel.compact {
  padding: 18px;
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 17px;
  letter-spacing: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
}

.plain-hero {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 320px);
  gap: 20px;
  align-items: center;
  padding: 28px;
  margin-bottom: 18px;
  border-color: #c9d6cf;
}

.plain-hero h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  max-width: 860px;
}

.plain-hero p {
  color: var(--muted);
  max-width: 760px;
  font-size: 16px;
}

.plain {
  margin: 0;
  color: var(--muted);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--line);
}

.summary-strip article {
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.summary-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-strip strong {
  font-size: 16px;
}

.intake-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 320px);
  gap: 18px;
  align-items: start;
  padding: 22px;
  margin-bottom: 18px;
  border-color: #cfd9d2;
}

.intake-copy h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.intake-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 820px;
}

.trace-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.trace-meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.trace-meta dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.trace-meta dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.packet-builder {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8faf7;
}

.packet-builder .hint {
  margin-bottom: 0;
}

.baseline-preview,
.outcome-preview {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
  color: var(--muted);
  font-size: 13px;
}

.baseline-preview strong,
.outcome-preview strong {
  color: var(--ink);
}

.baseline-preview span,
.outcome-preview p {
  margin: 0;
  overflow-wrap: anywhere;
}

.generation-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.generation-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
  display: grid;
  align-content: start;
  gap: 8px;
}

.generation-card strong {
  font-size: 17px;
}

.generation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.generation-card.waiting {
  grid-column: 1 / -1;
}

.generation-card.pass {
  border-color: #add2bd;
  background: var(--green-soft);
}

.generation-card.fail,
.generation-card.blocked {
  border-color: #e2b6b2;
  background: var(--red-soft);
}

.generation-card.review_required {
  border-color: #ddc579;
  background: var(--amber-soft);
}

.promotion-overview {
  display: grid;
  gap: 12px;
}

.promotion-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfb;
  display: grid;
  gap: 10px;
}

.promotion-card.blocked {
  border-color: #e2b6b2;
  background: var(--red-soft);
}

.promotion-card strong {
  font-size: 18px;
}

.promotion-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.generation-log {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 14px 14px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101814;
  color: #d8f3df;
}

.generation-log li {
  margin: 6px 0;
}

.hero p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 880px;
}

.decision-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f8faf7;
  display: grid;
  align-content: center;
  gap: 8px;
}

.decision-card strong {
  font-size: 20px;
}

.decision-card p {
  margin-bottom: 0;
}

.label,
.hint {
  color: var(--muted);
  font-size: 13px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.primary {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 800;
}

.primary:hover {
  background: #26332b;
}

.steps {
  padding-left: 22px;
  margin: 0;
}

.steps li {
  margin-bottom: 10px;
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.action-list {
  margin: 0;
  padding-left: 22px;
}

.action-list li {
  margin: 8px 0;
}

.boundary-box {
  display: grid;
  gap: 10px;
}

.boundary-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li,
.badge {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.table-like,
.claim-grid,
.check-list,
.risk-list,
.scorecard {
  display: grid;
  gap: 10px;
}

.row-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fbfcfb;
}

.row-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.row-card p {
  margin: 0;
  color: var(--muted);
}

.supported {
  background: var(--green-soft);
  color: var(--green);
}

.partial,
.review_required,
.approval_required {
  background: var(--amber-soft);
  color: var(--amber);
}

.unsupported,
.fail,
.blocked {
  background: var(--red-soft);
  color: var(--red);
}

.pass {
  background: var(--green-soft);
  color: var(--green);
}

.score-output {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}

.score-output strong {
  font-size: 30px;
}

pre {
  overflow: auto;
  white-space: pre-wrap;
  margin: 0;
  border-radius: 8px;
  background: #101814;
  color: #d8f3df;
  padding: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .layout,
  .hero,
  .plain-hero,
  .intake-panel,
  .summary-strip,
  .grid.two,
  .trace-meta,
  .generation-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* UX simplification layer: keep the first screen decision-centered, with details progressively disclosed. */
.topbar {
  padding: 18px 28px;
}

.layout {
  display: block;
  min-height: calc(100vh - 78px);
}

.workspace {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 20px 28px 34px;
}

.artifact-answer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid #cedbd2;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8f5 100%);
  box-shadow: var(--shadow);
}

.artifact-answer h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.artifact-answer p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.result-focus {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid #d7e3d9;
  border-radius: 8px;
  background: #fbfdfb;
}

.result-focus span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-focus strong {
  font-size: 15px;
  line-height: 1.3;
}

.result-focus p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.artifact-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.artifact-answer-grid article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.artifact-answer-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.artifact-answer-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.artifact-answer-grid strong {
  font-size: 16px;
  line-height: 1.22;
}

.artifact-answer-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.phase-progress-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #d3ded5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.snapshot-copy {
  display: grid;
  align-content: center;
}

.snapshot-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.09;
  letter-spacing: 0;
}

.snapshot-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 620px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.snapshot-grid article {
  min-height: 122px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.snapshot-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.snapshot-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-grid strong {
  font-size: 15px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.snapshot-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.final-result-ladder {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(620px, 1.24fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #c9d6cf;
  border-radius: 8px;
  background: #f8faf7;
  box-shadow: var(--shadow);
}

.ladder-copy {
  display: grid;
  align-content: center;
}

.ladder-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
}

.ladder-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 660px;
}

.ladder-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ladder-steps article {
  position: relative;
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #ffffff;
}

.ladder-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 24px;
  width: 12px;
  height: 2px;
  background: #b8c7bd;
  z-index: 1;
}

.ladder-steps article.target {
  border-color: #a7c9b5;
  background: var(--green-soft);
}

.ladder-steps article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.ladder-steps span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ladder-steps strong {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.ladder-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.thesis-candidate-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(620px, 1.22fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #d2ded6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.validation-action-queue {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(560px, 1.38fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #d6ddcf;
  border-radius: 8px;
  background: #fbfcfb;
  box-shadow: var(--shadow);
}

.confidence-change-contract {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(580px, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #ccd8d3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.thesis-issuance-gate {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(620px, 1.32fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #ded5d2;
  border-radius: 8px;
  background: #fffdfc;
  box-shadow: var(--shadow);
}

.candidate-card-copy {
  display: grid;
  align-content: center;
}

.action-queue-copy {
  display: grid;
  align-content: center;
}

.confidence-contract-copy {
  display: grid;
  align-content: center;
}

.issuance-gate-copy {
  display: grid;
  align-content: center;
}

.candidate-card-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
}

.action-queue-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.confidence-contract-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.issuance-gate-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.candidate-card-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 660px;
}

.action-queue-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 620px;
}

.confidence-contract-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 640px;
}

.issuance-gate-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 640px;
}

.candidate-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.action-queue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.confidence-contract-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.issuance-gate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.candidate-card-grid article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.action-queue-grid article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.confidence-contract-grid article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.issuance-gate-grid article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.candidate-card-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.action-queue-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.confidence-contract-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.issuance-gate-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.candidate-card-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.action-queue-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.confidence-contract-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.issuance-gate-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.candidate-card-grid strong {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.action-queue-grid strong {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.confidence-contract-grid strong {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.issuance-gate-grid strong {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.candidate-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.action-queue-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.confidence-contract-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.issuance-gate-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.action-queue-boundary {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  border: 1px solid #e4d2a1;
  background: var(--amber-soft);
  border-radius: 8px;
  padding: 14px;
}

.action-queue-boundary span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.action-queue-boundary strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.action-queue-boundary p {
  margin: 0;
  color: var(--muted);
}

.founder-control-summary {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  margin-bottom: 14px;
  background: #111a17;
  border: 1px solid #24372f;
  border-radius: 8px;
  color: #f6faf7;
  box-shadow: var(--shadow);
}

.founder-control-summary h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.founder-control-summary p {
  margin: 8px 0 0;
  color: #bfd0c7;
  line-height: 1.5;
}

.founder-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.founder-control-grid article {
  min-height: 128px;
  padding: 12px;
  border: 1px solid rgba(191, 208, 199, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.founder-control-grid article.danger {
  border-color: rgba(208, 82, 82, 0.45);
  background: rgba(208, 82, 82, 0.12);
}

.founder-control-grid span {
  display: block;
  color: #96aba1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.founder-control-grid strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.founder-control-grid p {
  margin-top: 8px;
  color: #c7d6cf;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.decision-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  margin-bottom: 14px;
  background:
    linear-gradient(135deg, rgba(231, 244, 236, 0.72), rgba(255, 255, 255, 0) 54%),
    var(--surface);
  border: 1px solid #c9d6cf;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.decision-card {
  background: #f7faf8;
}

.brief-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 920px;
}

.brief-line,
.brief-question {
  color: var(--muted);
  font-size: 15px;
  margin: 10px 0 0;
  max-width: 760px;
}

.outcome-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.outcome-stack article {
  position: relative;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
  display: grid;
  align-content: center;
  gap: 5px;
}

.outcome-stack article + article::before {
  content: "→";
  position: absolute;
  left: -17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 900;
}

.outcome-stack article:nth-child(2) {
  border-color: #bed3c7;
  background: var(--green-soft);
}

.outcome-stack span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.outcome-stack strong {
  font-size: 15px;
  line-height: 1.25;
}

.outcome-stack small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.count-boundary {
  max-width: 920px;
  margin: 10px 0 0;
  color: #66746b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.decision-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.decision-rail article {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 11px;
  border: 1px solid #d8e2db;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.decision-rail article.danger {
  border-color: #e8c5c2;
  background: #fff7f6;
}

.plain-meaning {
  margin: 12px 0 16px;
  padding: 10px 12px;
  border: 1px solid #d9dfd8;
  border-radius: 8px;
  background: #f8faf7;
  color: #27332b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.decision-rail span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.decision-rail strong {
  font-size: 13px;
  line-height: 1.25;
}

.hold-ribbon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 12px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e1d8b8;
  border-radius: 8px;
  background: #fffdf5;
}

.hold-ribbon span {
  grid-row: span 2;
  min-width: 54px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #f5eecf;
  color: #6d5d19;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.hold-ribbon strong {
  font-size: 13px;
  line-height: 1.35;
}

.hold-ribbon small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.hold-ribbon code {
  grid-column: 2;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #e8dfbd;
  border-radius: 6px;
  background: #fffaf0;
  color: #423811;
  padding: 5px 7px;
  font-size: 12px;
  font-weight: 900;
}

.quiet-line {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}

.summary-strip {
  margin-bottom: 14px;
}

.input-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
}

.input-flow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--green-soft);
}

.input-flow span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.input-flow strong {
  font-size: 14px;
}

.input-flow i {
  color: var(--muted);
  font-style: normal;
}

.input-flow small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 700;
}

.agent-autopilot {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(560px, 1.38fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 238, 248, 0.72), rgba(231, 244, 236, 0.72)),
    #ffffff;
  box-shadow: 0 14px 36px rgba(23, 32, 27, 0.06);
}

.autopilot-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.autopilot-copy p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.autopilot-diagram {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.autopilot-node,
.autopilot-boundary {
  border: 1px solid #d9e2dd;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 126px;
  position: relative;
}

.autopilot-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 900;
  z-index: 1;
}

.autopilot-node span,
.autopilot-boundary span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.autopilot-node strong,
.autopilot-boundary strong {
  font-size: 14px;
  line-height: 1.22;
}

.autopilot-node p,
.autopilot-boundary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.autopilot-node.start {
  border-top: 4px solid var(--blue);
}

.autopilot-node.validator {
  border-top: 4px solid var(--amber);
}

.autopilot-node.human {
  border-top: 4px solid var(--green);
}

.autopilot-boundary {
  grid-column: 1 / -1;
  grid-template-columns: 92px 1fr;
  align-items: center;
  min-height: 0;
  background: #fffaf0;
  border-color: #ead9a9;
}

.autopilot-boundary p {
  grid-column: 2;
}

.operator-command {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.06);
}

.operator-command {
  position: relative;
  overflow: hidden;
}

.operator-command::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(var(--green), var(--amber), var(--red));
}

.operator-command > * {
  position: relative;
}

.command-copy h2 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.command-copy p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.command-anchor {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #e4c7bd;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff8f7;
  color: var(--red) !important;
  font-size: 12px !important;
  font-weight: 900;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.command-grid article {
  min-height: 154px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.command-grid article.danger {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.command-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.command-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.command-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.use-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.use-path article {
  min-height: 112px;
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
}

.use-path span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.use-path strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.use-path p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.parallel-agent-board {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid #cad8d1;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7f5 100%);
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.06);
}

.parallel-agent-board {
  position: relative;
  overflow: hidden;
}

.parallel-agent-board::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 999px;
  pointer-events: none;
}

.parallel-agent-board > * {
  position: relative;
}

.parallel-board-copy {
  display: grid;
  align-content: start;
}

.parallel-board-copy h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.parallel-board-copy p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.agent-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.agent-lanes article {
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  display: grid;
  align-content: start;
  gap: 7px;
}

.agent-lanes article:nth-child(1) {
  border-top: 4px solid var(--blue);
}

.agent-lanes article:nth-child(2) {
  border-top: 4px solid var(--green);
}

.agent-lanes article:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.agent-lanes article:nth-child(4) {
  border-top: 4px solid var(--red);
}

.agent-lanes span,
.parallel-output-strip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-lanes strong {
  font-size: 15px;
  line-height: 1.22;
}

.agent-lanes p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.parallel-output-strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #bed3c7;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--green-soft);
}

.parallel-output-strip strong {
  font-size: 16px;
  line-height: 1.25;
}

.trust-lock {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(520px, 1.52fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #e7cbc5;
  border-radius: 8px;
  background: #fffdfc;
  box-shadow: 0 10px 26px rgba(23, 32, 27, 0.04);
}

.trust-lock-copy h2 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}

.trust-lock-copy p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-lock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-lock-grid article {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 4px solid #dce5df;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.trust-lock-grid article.danger {
  border-color: #e5c0b9;
  border-left-color: var(--red);
  background: #fff8f7;
}

.trust-lock-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-lock-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.trust-lock-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.trust-lock-details {
  grid-column: 1 / -1;
  border: 1px solid #ead7d3;
  border-radius: 8px;
  background: #ffffff;
}

.trust-lock-details summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 900;
}

.trust-lock-details ul {
  margin: 0;
  padding: 0 18px 16px 36px;
  color: var(--muted);
}

.source-verification-lock {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(520px, 1.52fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #d8e1dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(23, 32, 27, 0.04);
}

.source-lock-copy h2 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}

.source-lock-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.source-lock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.source-lock-grid article {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 4px solid #dce5df;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfb;
}

.source-lock-grid article.danger {
  border-color: #e5c0b9;
  border-left-color: var(--red);
  background: #fff8f7;
}

.source-lock-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-lock-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.source-lock-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-intake-lock {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(520px, 1.52fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #d8e1dc;
  border-radius: 8px;
  background: #fbfcfb;
  box-shadow: 0 10px 26px rgba(23, 32, 27, 0.04);
}

.intake-lock-copy h2 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intake-lock-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.intake-lock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.intake-lock-grid article {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 4px solid #dce5df;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.intake-lock-grid article.danger {
  border-color: #e5c0b9;
  border-left-color: var(--red);
  background: #fff8f7;
}

.intake-lock-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.intake-lock-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.intake-lock-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.unblock-card-command {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #101814;
  color: #d8f3df;
}

.unblock-card-command span {
  color: #8fbda0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.unblock-card-command code {
  color: #f4fff7;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.unblock-card-command p {
  margin: 0;
  color: #b8d6c3;
  font-size: 13px;
  line-height: 1.45;
}

.intake-lock-details {
  grid-column: 1 / -1;
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  background: #ffffff;
}

.intake-lock-details summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 900;
}

.intake-lock-details ol {
  margin: 0;
  padding: 0 18px 16px 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.research-map-drawer {
  margin-bottom: 14px;
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
  overflow: hidden;
}

.research-map-drawer > summary {
  cursor: pointer;
  padding: 15px 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.research-map-drawer > summary::-webkit-details-marker {
  display: none;
}

.research-map-drawer > summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.research-map-drawer[open] > summary::after {
  content: "-";
}

.research-map-drawer[open] {
  padding: 0 14px 14px;
}

.research-map-drawer[open] > summary {
  margin: 0 -14px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.one-question-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid #cddad2;
  border-radius: 8px;
  padding: 18px;
  background: #15251d;
  box-shadow: 0 18px 44px rgba(23, 32, 27, 0.1);
}

.question-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #f7fbf6;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.question-copy p {
  max-width: 760px;
  margin: 11px 0 0;
  color: #c6d5ca;
  font-size: 15px;
  line-height: 1.55;
}

.question-chip {
  display: grid;
  gap: 6px;
  max-width: 820px;
  margin-top: 16px;
  border: 1px solid rgba(185, 234, 208, 0.34);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.07);
}

.question-chip span,
.agent-labor-receipt > span {
  color: #9bd7ad;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.question-chip strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.32;
}

.agent-labor-receipt {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(185, 234, 208, 0.28);
  border-radius: 8px;
  padding: 15px;
  background: #f8fbf8;
}

.agent-labor-receipt strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.08;
}

.agent-labor-receipt p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.agent-labor-receipt dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.agent-labor-receipt div {
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.agent-labor-receipt dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-labor-receipt dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.agent-labor-receipt small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.agent-intake {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #cfded5;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.07);
}

.intake-scene {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 221, 141, 0.42), transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(196, 225, 210, 0.82), transparent 28%),
    #fbfcfb;
}

.intake-scene::before,
.intake-scene::after {
  content: "";
  position: absolute;
  inset: 52% 12% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(31, 122, 77, 0.2), rgba(31, 122, 77, 0.78), transparent);
  transform: rotate(-12deg);
}

.intake-scene::after {
  inset: 45% 15% auto;
  transform: rotate(14deg);
  opacity: 0.55;
}

.signal-node,
.agent-core {
  position: absolute;
  border: 1px solid rgba(217, 223, 215, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(23, 32, 27, 0.11);
}

.signal-node {
  min-width: 120px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.signal-node::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 122, 77, 0.12);
}

.signal-node.official {
  top: 36px;
  left: 34px;
}

.signal-node.incidents {
  top: 58px;
  right: 36px;
}

.signal-node.research {
  bottom: 46px;
  left: 46px;
}

.signal-node.friction {
  right: 42px;
  bottom: 36px;
}

.agent-core {
  left: 50%;
  top: 50%;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  transform: translate(-50%, -50%);
  color: #ffffff;
  background: #14291e;
  border-color: rgba(255, 255, 255, 0.18);
}

.agent-core::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(31, 122, 77, 0.72);
  border-radius: 999px;
  animation: intakeOrbit 12s linear infinite;
}

.agent-core span {
  align-self: end;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.agent-core strong {
  align-self: start;
  color: #b9ead0;
  font-size: 28px;
  line-height: 1;
}

.intake-script h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.03;
  letter-spacing: 0;
}

.intake-script p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.intake-script ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.intake-script li {
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.intake-promise {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  border: 1px solid #a9cdb8;
  border-radius: 8px;
  padding: 13px 14px;
  background: #ecf8f1;
}

.intake-promise span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.intake-promise strong {
  color: #173124;
  font-size: 15px;
  line-height: 1.35;
}

.source-mix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.source-mix article {
  border: 1px solid #dfe6dd;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.source-mix span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-mix strong {
  display: block;
  margin-top: 3px;
  font-size: 19px;
}

.source-mix p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.automation-contract {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.automation-contract article {
  min-height: 132px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
}

.automation-contract span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.automation-contract strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.automation-contract p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.output-contract {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 16px;
  align-items: stretch;
  border: 1px solid #cfded5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 14px;
  background: #17201b;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.08);
}

.output-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.output-copy .eyebrow {
  color: #9bd7ad;
}

.output-copy h2 {
  margin: 0;
  color: #f7fbf6;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

.output-copy p {
  max-width: 640px;
  margin: 0;
  color: #dbe8dd;
  font-size: 15px;
  line-height: 1.55;
}

.output-stack {
  display: grid;
  gap: 10px;
}

.output-stack article {
  border: 1px solid rgba(236, 248, 241, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.output-stack span {
  color: #9bd7ad;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.output-stack strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.22;
}

.output-stack p {
  margin: 8px 0 0;
  color: #dbe8dd;
  font-size: 13px;
  line-height: 1.42;
}

.decision-object-card {
  border-color: rgba(155, 215, 173, 0.36) !important;
  background: rgba(236, 248, 241, 0.1) !important;
}

.decision-object-card dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.decision-object-card div {
  display: grid;
  grid-template-columns: minmax(94px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(236, 248, 241, 0.12);
  padding-top: 8px;
}

.decision-object-card dt {
  color: #9bd7ad;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.decision-object-card dd {
  margin: 0;
  color: #f7fbf6;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.38;
}

.provenance-details {
  margin-top: 10px;
  border-top: 1px solid rgba(236, 248, 241, 0.16);
  padding-top: 10px;
}

.provenance-details summary {
  cursor: pointer;
  color: #9bd7ad;
  font-size: 12px;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

.provenance-details summary::-webkit-details-marker {
  display: none;
}

.provenance-details summary::after {
  content: "+";
  float: right;
}

.provenance-details[open] summary::after {
  content: "-";
}

.provenance-details dl {
  margin-top: 10px;
}

@keyframes intakeOrbit {
  to {
    transform: rotate(360deg);
  }
}

.visual-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.07);
}

.visual-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.visual-copy p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.signal-frame {
  margin: 0;
  display: grid;
  gap: 10px;
}

.signal-frame img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  box-shadow: 0 10px 28px rgba(23, 32, 27, 0.06);
}

.signal-frame figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.signal-reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.signal-reel article {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.signal-reel article::after {
  content: "";
  position: absolute;
  inset: auto -20% 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, #1f7a4d, transparent);
  animation: signalSweep 4.5s ease-in-out infinite;
}

.signal-reel article:nth-child(2)::after {
  animation-delay: .8s;
}

.signal-reel article:nth-child(3)::after {
  animation-delay: 1.6s;
}

.signal-reel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-reel strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.signal-reel p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@keyframes signalSweep {
  0%, 22% {
    transform: translateX(-75%);
    opacity: 0;
  }
  34%, 68% {
    opacity: 1;
  }
  100% {
    transform: translateX(75%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .agent-core::before,
  .signal-reel article::after {
    animation: none;
  }
}

.thesis-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.07);
}

.snapshot-copy h2,
.thesis-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.snapshot-copy p,
.thesis-card p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.signal-scoreboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-scoreboard article,
.thesis-facts article,
.proof-rail article,
.status-dock article,
.readiness-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 14px;
}

.signal-scoreboard article {
  display: grid;
  align-content: center;
  min-height: 102px;
}

.signal-scoreboard .candidate {
  border-color: #d08a32;
  background: #fff8eb;
}

.signal-scoreboard span,
.thesis-facts span,
.proof-rail span,
.status-dock span,
.readiness-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-scoreboard strong {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.thesis-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  background: #f4f8f5;
  padding: 22px;
}

.thesis-card h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

.thesis-facts {
  display: grid;
  gap: 10px;
}

.thesis-facts strong,
.proof-rail strong,
.status-dock strong,
.readiness-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.proof-rail article {
  min-height: 112px;
}

.proof-rail span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #24362d;
  color: #fff;
}

.proof-rail p,
.status-dock p,
.readiness-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.status-dock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.readiness-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.15fr) minmax(280px, 1.15fr);
  gap: 10px;
  margin-bottom: 14px;
}

.readiness-strip article {
  border-color: #e5c0b9;
  background: #fff8f7;
}

.readiness-strip strong {
  overflow-wrap: anywhere;
}

.arena-selector {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.06);
}

.arena-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.arena-intro p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 660px;
}

.arena-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.arena-card {
  min-height: 224px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
  display: grid;
  align-content: start;
  gap: 9px;
}

.arena-card span,
.next-decision span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.arena-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.arena-card p,
.arena-card small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.arena-card small {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  font-weight: 700;
}

.arena-card small b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
}

.next-decision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.convergence-board {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(560px, 1.32fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #d5e1da;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 14px;
  background: #f4f8f5;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.06);
}

.convergence-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.convergence-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 660px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.score-card {
  min-height: 212px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  display: grid;
  align-content: start;
  gap: 10px;
}

.score-card span,
.research-sprint span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.score-card b {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.score-card i {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e9e5;
}

.score-card i::before {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #2459a6);
}

.score-card p,
.score-card small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.score-card small {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  font-weight: 700;
}

.research-sprint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 0.88fr);
  gap: 10px;
  margin-bottom: 14px;
}

.research-sprint article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff8eb;
}

.research-sprint strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.research-sprint p,
.research-sprint li {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.research-sprint ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.sprint-contract {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid #c8d6d2;
  border-radius: 8px;
  background: #f7fbfa;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.05);
}

.sprint-contract-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 3.1vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.sprint-contract-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 720px;
}

.sprint-contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sprint-contract-grid article {
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  display: grid;
  align-content: start;
  gap: 7px;
}

.sprint-contract-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sprint-contract-grid strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sprint-contract-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.next-decision article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff8eb;
}

.next-decision strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.next-decision p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.audit-drawer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  margin-top: 14px;
}

.audit-drawer > summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.audit-drawer > summary::-webkit-details-marker {
  display: none;
}

.audit-drawer > summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.audit-drawer[open] > summary::after {
  content: "-";
}

.audit-drawer[open] > summary {
  margin-bottom: 14px;
}

.batch-origin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #c9d6cf;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
}

.batch-origin h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.batch-origin p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 740px;
}

.batch-origin .fine-print {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 2px;
}

.batch-routing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.batch-routing article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  display: grid;
  align-content: center;
  min-height: 96px;
}

.batch-routing span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.batch-routing strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: 0;
}

.batch-routing .needs-boundary {
  border-color: #d08a32;
  background: #fff8eb;
}

.summary-strip article {
  padding: 14px;
}

.autopilot-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.muted-details {
  opacity: 0.92;
}

.muted-details .panel {
  background: #fbfcfb;
}

.result-grid .generation-card {
  min-height: 0;
}

.result-grid .card-detail {
  display: none;
}

.result-grid .generation-card:hover .card-detail,
.result-grid .generation-card:focus-within .card-detail {
  display: block;
}

.automation-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.automation-card span {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 0 10px;
}

.automation-card strong {
  font-size: 15px;
}

.automation-card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.compact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.disclosure {
  margin-bottom: 0;
}

.disclosure summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.disclosure[open] summary::after {
  content: "-";
}

.fine-print,
.footer-note {
  color: var(--muted);
  font-size: 12px;
}

.footer-note {
  margin: 14px 0 0;
}

.secondary {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.secondary:hover {
  background: #f8faf7;
}

.tabs {
  margin: 16px 0 14px;
}

@media (max-width: 980px) {
  .thesis-snapshot,
  .thesis-card,
  .arena-selector,
  .convergence-board,
  .agent-intake,
  .one-question-entry,
  .founder-control-summary,
  .artifact-answer,
  .phase-progress-snapshot,
  .final-result-ladder,
  .thesis-candidate-card,
  .validation-action-queue,
  .confidence-change-contract,
  .thesis-issuance-gate,
  .operator-command,
  .agent-autopilot,
  .parallel-agent-board,
  .trust-lock,
  .source-verification-lock,
  .evidence-intake-lock,
  .output-contract,
  .visual-brief,
  .sprint-contract,
  .decision-brief,
  .decision-rail,
  .hold-ribbon,
  .batch-origin,
  .outcome-stack,
  .grid.two,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .summary-strip,
  .founder-control-grid,
  .use-path,
  .artifact-answer-grid,
  .snapshot-grid,
  .ladder-steps,
  .candidate-card-grid,
  .action-queue-grid,
  .confidence-contract-grid,
  .issuance-gate-grid,
  .command-grid,
  .agent-lanes,
  .trust-lock-grid,
  .source-lock-grid,
  .intake-lock-grid,
  .automation-contract,
  .proof-rail,
  .status-dock,
  .readiness-strip,
  .next-decision,
  .research-sprint,
  .sprint-contract-grid,
  .signal-reel,
  .generation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arena-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .input-flow small {
    width: 100%;
    margin-left: 0;
  }

  .batch-routing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .autopilot-lane {
    grid-template-columns: 1fr;
  }

  .autopilot-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .autopilot-node:not(:last-child)::after {
    display: none;
  }

  .autopilot-boundary {
    grid-template-columns: 1fr;
  }

  .autopilot-boundary p {
    grid-column: auto;
  }

  .outcome-stack article + article::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .topbar h1 {
    font-size: 30px;
  }

  .status-pill {
    align-self: stretch;
    border-radius: 12px;
    font-size: 13px;
  }

  .workspace {
    padding: 14px;
  }

  .artifact-answer,
  .phase-progress-snapshot,
  .final-result-ladder,
  .thesis-candidate-card,
  .validation-action-queue,
  .confidence-change-contract,
  .thesis-issuance-gate,
  .decision-brief {
    padding: 18px;
  }

  .thesis-snapshot,
  .thesis-card,
  .arena-selector,
  .convergence-board {
    padding: 16px;
  }

  .snapshot-copy h2,
  .thesis-card h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .summary-strip,
  .founder-control-summary,
  .founder-control-grid,
  .batch-routing,
  .use-path,
  .artifact-answer,
  .artifact-answer-grid,
  .phase-progress-snapshot,
  .snapshot-grid,
  .final-result-ladder,
  .ladder-steps,
  .thesis-candidate-card,
  .candidate-card-grid,
  .validation-action-queue,
  .action-queue-grid,
  .confidence-change-contract,
  .confidence-contract-grid,
  .thesis-issuance-gate,
  .issuance-gate-grid,
  .decision-rail,
  .hold-ribbon,
  .automation-contract,
  .parallel-agent-board,
  .agent-lanes,
  .proof-rail,
  .status-dock,
  .readiness-strip,
  .next-decision,
  .research-sprint,
  .sprint-contract,
  .sprint-contract-grid,
  .operator-command,
  .agent-autopilot,
  .command-grid,
  .trust-lock,
  .trust-lock-grid,
  .source-verification-lock,
  .source-lock-grid,
  .evidence-intake-lock,
  .intake-lock-grid,
  .generation-grid,
  .arena-grid,
  .score-grid,
  .agent-intake,
  .one-question-entry,
  .output-contract,
  .visual-brief,
  .signal-reel,
  .trace-meta,
  .autopilot-lane {
    grid-template-columns: 1fr;
  }

  .autopilot-diagram {
    grid-template-columns: 1fr;
  }

  .ladder-steps article:not(:last-child)::after {
    display: none;
  }

  .decision-object-card div {
    grid-template-columns: 1fr;
  }

  .signal-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-scoreboard article {
    min-height: 76px;
    padding: 10px;
  }

  .signal-scoreboard strong {
    font-size: clamp(28px, 9vw, 42px);
  }

  .intake-scene {
    min-height: 260px;
  }

  .signal-node {
    min-width: 104px;
    padding: 9px 10px;
    font-size: 11px;
  }

  .agent-core {
    width: 132px;
    height: 132px;
  }

  .agent-core strong {
    font-size: 24px;
  }
}

/* Visual polish layer: make the demo feel like a calm exception cockpit, not a dense audit report. */
body {
  background: #f8faf7;
}

.topbar {
  box-shadow: 0 10px 28px rgba(23, 32, 27, 0.05);
}

.status-pill {
  background: #fff8e7;
  border-color: #ead9a9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.decision-brief {
  border-color: #d7e2dc;
  box-shadow: 0 18px 45px rgba(23, 32, 27, 0.07);
}

.decision-card {
  border-color: #d7e2dc;
  background: #f4f8f5;
}

.outcome-stack article {
  min-height: 72px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(23, 32, 27, 0.04);
}

.summary-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-strip article {
  min-height: 74px;
}

.autopilot-lane {
  align-items: stretch;
}

.automation-card {
  border-color: #dfe6dd;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
}

.automation-card span {
  background: #24362d;
}

.result-grid {
  margin: 4px 0 16px;
}

.result-grid .generation-card {
  min-height: 78px;
  border-color: #dfe6dd;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.04);
}

.result-grid .generation-card.pass {
  border-left: 4px solid var(--green);
}

.result-grid .generation-card.fail,
.result-grid .generation-card.blocked {
  border-left: 4px solid var(--red);
}

.result-grid .generation-card.review_required {
  border-left: 4px solid var(--amber);
}

.result-grid .generation-card strong {
  font-size: 16px;
}

.result-grid .badge {
  justify-self: start;
  padding: 5px 9px;
  font-size: 11px;
}

.tabs {
  gap: 8px;
}

.tab {
  box-shadow: 0 4px 14px rgba(23, 32, 27, 0.04);
}

.panel {
  box-shadow: 0 12px 30px rgba(23, 32, 27, 0.05);
}

@media (max-width: 980px) {
  .outcome-stack article {
    min-height: 0;
    grid-template-columns: 92px 1fr;
    align-items: center;
    padding: 11px 12px;
  }

  .outcome-stack span {
    margin: 0;
  }

  .summary-strip article {
    min-height: 64px;
  }
}

@media (max-width: 640px) {
  .brief-copy h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .decision-card {
    padding: 14px;
  }

  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .input-flow {
    align-items: flex-start;
    gap: 8px;
  }

  .summary-strip article {
    min-height: 58px;
    padding: 12px;
  }

  .result-grid.generation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-grid .generation-card {
    padding: 12px;
  }
}
