:root {
  --fg: #1c1d1f;
  --muted: #5f6368;
  --bg: #fbfbfa;
  --rule: #e3e3e0;
  --accent: #9a6a1c;
  --danger: #a3321f;
  /* One per engine, for the badge that says which model searched. Apart
     from the accent and from danger, and legible as text on the page. */
  --engine-chatgpt: #1a7f5a;
  --engine-claude: #8b3f8f;
  --engine-gemini: #2f5fc4;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e6e6e3;
    --muted: #9a9da1;
    --bg: #151617;
    --rule: #2a2c2e;
    --accent: #d9a54a;
    --danger: #e07a63;
    --engine-chatgpt: #4cc2a0;
    --engine-claude: #cf8ad6;
    --engine-gemini: #7fa6f5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.55 var(--sans);
}

/* --- frame ---------------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.93em;
}

.site-nav a { color: var(--fg); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

main {
  max-width: 64rem;
  padding: 2rem;
}

h1 { font-size: 1.6rem; font-weight: 600; margin: 0.25rem 0 1.25rem; }
h2 { font-size: 1.05rem; font-weight: 600; margin: 2.25rem 0 0.75rem; }

a { color: var(--accent); }

.muted { color: var(--muted); }

/* --- code ----------------------------------------------------------------- */

code, pre { font-family: var(--mono); font-size: 0.92em; }

pre {
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  overflow-x: auto;
}

.secret { user-select: all; }

.code-display {
  font-family: var(--mono);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  margin: 1.25rem 0 0.5rem;
}

/* --- tables --------------------------------------------------------------- */

table { border-collapse: collapse; width: 100%; font-size: 0.93em; }

th {
  text-align: left;
  font-weight: 600;
  font-size: 0.78em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding: 0.4rem 1rem 0.4rem 0;
}

td {
  border-bottom: 1px solid var(--rule);
  padding: 0.45rem 1rem 0.45rem 0;
  vertical-align: top;
}

th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }

.status { font-family: var(--mono); font-size: 0.88em; }
.status-revoked, .status-expired { color: var(--muted); }

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 1.5rem;
}
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

/* --- forms ---------------------------------------------------------------- */

.stack > * + * { margin-top: 0.9rem; }
.stack label { display: block; }
.narrow { max-width: 24rem; }

input[type="text"], input[type="email"], input[type="password"] {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.4rem 0.55rem;
  font: inherit;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--rule);
}

button {
  font: inherit;
  padding: 0.35rem 0.95rem;
  color: var(--bg);
  background: var(--fg);
  border: 1px solid var(--fg);
  cursor: pointer;
}

button.secondary { color: var(--fg); background: transparent; }
button.link { padding: 0; color: var(--fg); background: none; border: 0; }
button.link:hover { color: var(--accent); }

input:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

form.inline { display: inline; margin: 0; }
.inline-actions { display: flex; gap: 0.75rem; }

.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 0.25rem 0; }

.notice {
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  border-left: 3px solid var(--accent);
}

/* --- artifacts: runs, analyses, the toolkit ------------------------------- */

.crumb { margin: 0; color: var(--muted); font-size: 0.9em; }
.subject { font-size: 1.35rem; margin: 0.35rem 0 0.4rem; }
.meta { color: var(--muted); margin: 0 0 1.5rem; }

.answer {
  white-space: pre-wrap;
  line-height: 1.6;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 2px solid var(--rule);
}

.excerpt { margin: 0.75rem 0; padding-left: 1rem; border-left: 2px solid var(--rule); color: var(--muted); }

details { margin: 0.5rem 0; }
details > summary { cursor: pointer; }
details pre { max-height: 32rem; }

table.compact { width: auto; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { margin: 0.2rem 0; }

ol.outline { list-style: none; padding: 0; }
ol.outline .h2 { padding-left: 1rem; }
ol.outline .h3 { padding-left: 2rem; }
ol.outline .h4, ol.outline .h5, ol.outline .h6 { padding-left: 3rem; }

ol.questions li { margin: 0.25rem 0; }
.tag {
  font-family: var(--mono);
  font-size: 0.8em;
  padding: 0 0.35rem;
  border: 1px solid var(--rule);
  color: var(--muted);
}

.status-completed, .status-pass { color: var(--fg); }
.status-failed, .status-fail, .status-error { color: var(--danger); }
.status-queued, .status-running, .status-partial, .status-not_applicable { color: var(--muted); }

/* Evidence strength is understated on purpose: weaker claims are quieter. */
.evidence-suggestive, .evidence-experimental { color: var(--muted); font-style: italic; }

.tool { margin-bottom: 2.5rem; max-width: 44rem; }
.tool textarea {
  display: block; width: 100%; margin-top: 0.25rem; padding: 0.45rem 0.55rem;
  font: inherit; color: var(--fg); background: transparent; border: 1px solid var(--rule);
}
.tool input[type="number"] {
  display: block; width: 8rem; margin-top: 0.25rem; padding: 0.4rem 0.55rem;
  font: inherit; color: var(--fg); background: transparent; border: 1px solid var(--rule);
}
fieldset.engines { border: 0; padding: 0; margin: 0; display: flex; gap: 1.25rem; }
fieldset.engines legend { padding: 0; margin-bottom: 0.25rem; }
label.check { display: inline-flex; align-items: center; gap: 0.35rem; }

/* --- sharing ------------------------------------------------------------- */

input.share-url {
  width: 100%;
  max-width: 44rem;
  padding: 0.4rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--rule);
}
.shared-footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); }

/* --- home and docs -------------------------------------------------------- */

.hero { max-width: 48rem; }
.lede { font-size: 1.05rem; }

/* Terminal output is part of the visual identity: shown, not screenshotted. */
pre.terminal { line-height: 1.45; background: transparent; }

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.93em;
}
.doc-nav a { color: var(--fg); text-decoration: none; }
.doc-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.doc-nav .raw-link { margin-left: auto; color: var(--muted); }

.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 70rem) {
  .doc:has(.toc) { grid-template-columns: 12rem minmax(0, 1fr); }
  .toc { position: sticky; top: 1rem; align-self: start; font-size: 0.88em; }
}

.prose { max-width: 46rem; }
.prose h1 { margin-top: 0; }
.prose h3 { font-size: 0.98rem; margin: 1.75rem 0 0.5rem; }
.prose table { margin: 1rem 0; }
.prose li { margin: 0.2rem 0; }
.prose :not(pre) > code { padding: 0 0.2rem; border: 1px solid var(--rule); }

.endpoint, .schema { margin: 1.25rem 0 1.75rem; }
.endpoint h4, .schema h4 { margin: 0 0 0.4rem; font-weight: 600; }
.method { color: var(--accent); margin-right: 0.35rem; }

/* --- the index: home and dashboard ---------------------------------------- */

/* Four text roles: heading (sans, bold), body (sans), label (mono, uppercase,
   muted) and data (mono). Physical treatment is a small vocabulary: .outlined,
   .offset-shadow, .floating-action. The grid does the rest. */
main.wide { max-width: 88rem; }

.index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 3rem;
  align-items: start;
}
.span-2 { grid-column: span 2; }

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.object > * { margin: 0; }
.object > * + * { margin-top: 1rem; }
.object ul.plain li { margin: 0 0 0.6rem; }
.object ul.plain li:last-child { margin-bottom: 0; }
.index pre { border: 0; padding: 0; }
/* Commands wrap rather than scroll: a column is narrower than a terminal. */
.index pre.terminal { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Ledgers: figures aligned in mono, names in sans, no rules between rows. */
table.ledger { width: auto; font-size: 0.92em; }
table.ledger th, table.ledger td {
  border-bottom: 0;
  padding: 0.2rem 1.5rem 0.2rem 0;
  white-space: nowrap;
}
table.ledger th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding-bottom: 0.6rem;
}
table.ledger td:last-child, table.ledger th:last-child { padding-right: 0; }
table.ledger td.num { font-family: var(--mono); font-size: 0.95em; }
table.ledger .wrap { white-space: normal; }
/* IDs are for finding things again, not for reading: quiet until wanted. */
table.ledger a:has(> code) { color: var(--muted); }
table.ledger a:has(> code):hover { color: var(--accent); }

.scroll { overflow-x: auto; }

/* Outlined figures: a thick square border with the page colour behind it. */
.outlined {
  position: relative;
  border: 2px solid var(--fg);
  background: var(--bg);
  padding: 1.5rem 1.75rem;
}

/* A dotted shadow set down and to the right, as if printed slightly off-register.
   Two strips, so nothing is drawn under the figure itself. */
.offset-shadow::before, .offset-shadow::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(var(--fg) 1.1px, transparent 1.4px);
  background-size: 4px 4px;
  opacity: 0.7;
}
.offset-shadow::before { top: 10px; right: -10px; bottom: -10px; width: 8px; }
.offset-shadow::after { left: 10px; right: -10px; bottom: -10px; height: 8px; }

/* An action that hangs off the bottom edge of its outlined figure. */
.has-action { padding-bottom: 2.5rem; margin-bottom: 1.5rem; }
.floating-action {
  position: absolute;
  z-index: 1;
  left: 1.75rem;
  bottom: 0;
  transform: translateY(50%);
  padding: 0.45rem 1rem;
  border: 2px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.floating-action:hover { color: var(--accent); border-color: var(--accent); }

/* The intro. */
.intro { margin-top: 1rem; }
.intro h1 { font-size: 1.8rem; margin: 0; }
.intro .lede { font-size: 1.25rem; line-height: 1.45; max-width: 34rem; margin-top: 1.25rem; }
.intro pre.terminal { font-size: 1.05rem; margin-top: 1.75rem; }
.intro pre.terminal + p { margin-top: 1.25rem; }

/* The four things you can do: one size, whatever each one holds. */
.tools { margin-top: 3rem; grid-auto-rows: 1fr; align-items: stretch; }
.tools > :not(.capability) { align-self: start; }
.capability { display: flex; flex-direction: column; padding: 1.75rem 1.75rem 2.75rem; }
.capability > table.ledger { align-self: flex-start; }
.capability > p.muted:last-of-type { margin-top: auto; padding-top: 1.25rem; }
.capability h2 { font-size: 1.4rem; line-height: 1.25; margin: 0; }
.capability > * + * { margin-top: 1.25rem; }
.capability pre.terminal { margin-top: 1.5rem; }
.capability ul.plain li { margin-bottom: 0.7rem; }
.capability .findings li { margin-bottom: 0.9rem; }
.capability .label + * { margin-top: 0.75rem; }
.colophon { margin: 0; font-size: 0.9em; }

/* The signed-in readout: an instrument set above the editorial page. */
.activity { margin: 0.5rem 0 4rem; }
.activity-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}
.activity .account { font-family: var(--mono); font-size: 0.85em; color: var(--muted); }
.activity table.ledger { width: 100%; }
.activity table.ledger td { padding-top: 0.3rem; padding-bottom: 0.3rem; }
.activity td.figures { font-family: var(--mono); font-size: 0.95em; }
.activity pre { border: 0; padding: 0; margin: 0; }
.activity .empty > * + * { margin-top: 0.75rem; }
.tally { margin: 1.25rem 0 0; font-size: 0.9em; }

/* The logged-in nav has eight items; let it wrap on a phone. */
.site-header, .site-nav { flex-wrap: wrap; row-gap: 0.35rem; }

@media (max-width: 64rem) {
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}

@media (max-width: 40rem) {
  .index { grid-template-columns: minmax(0, 1fr); row-gap: 2.75rem; }
  .span-2 { grid-column: auto; }
  main { padding: 1.25rem; }
  .site-header { padding: 0.9rem 1.25rem; }
  .outlined { padding: 1.25rem; }
  .has-action { padding-bottom: 2.25rem; }
  .tools { grid-auto-rows: auto; }
  .capability { padding: 1.5rem 1.25rem 2.5rem; }
  .capability h2 { font-size: 1.25rem; }
  .floating-action { left: 1.25rem; }
  .intro .lede { font-size: 1.15rem; }
  /* On a phone the subject matters more than the whole ULID; the full ID is one tap away. */
  .activity td:first-child code {
    display: inline-block;
    max-width: 9ch;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
}

/* The workspace switcher sits in the nav and should read as part of it. */
.switcher select { font: inherit; padding: 0.1rem 0.3rem; max-width: 12rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Textareas and selects outside the toolkit (a project's context, a member's
   role) read like the text inputs beside them. */
.stack textarea {
  display: block; width: 100%; max-width: 24rem; font: inherit; color: inherit;
  padding: 0.45rem 0.6rem; border: 1px solid var(--rule); background: var(--bg);
}
.stack select, td select { font: inherit; padding: 0.15rem 0.3rem; }


/* --- fanouts: what each model searched -------------------------------------- */

/* Which model is the loudest thing in a row; its name is always written out,
   so the colour only repeats what the text says. */
.engine-badge {
  --engine: var(--muted);
  display: inline-flex; align-items: baseline; gap: 0.4em;
  font-weight: 600; color: var(--engine); white-space: nowrap;
}
.engine-badge::before {
  content: ""; width: 0.6em; height: 0.6em; border-radius: 50%;
  background: var(--engine); transform: translateY(-0.05em);
}
a.engine-badge { text-decoration: none; }
a.engine-badge:hover { text-decoration: underline; }
.engine-chatgpt { --engine: var(--engine-chatgpt); }
.engine-claude { --engine: var(--engine-claude); }
.engine-gemini { --engine: var(--engine-gemini); }

.crumb a { color: inherit; }
.crumb .sep { margin: 0 0.35em; }
.crumb .here { color: var(--fg); }
/* A prompt can be a paragraph; a crumb is one line of it. */
.crumb .clip {
  display: inline-block; max-width: 28rem; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
}

.prompt-text { font-size: 1.35rem; font-weight: 600; line-height: 1.35; margin: 0.35rem 0 0.4rem; white-space: pre-wrap; }
.original-prompt { margin: 0 0 1.5rem; padding-left: 1rem; border-left: 2px solid var(--rule); white-space: pre-wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0 0 1rem; align-items: baseline; }
.chips a { color: var(--muted); text-decoration: none; }
.chips a:hover { text-decoration: underline; }
.chips a[aria-current] { color: var(--fg); font-weight: 600; border-bottom: 2px solid var(--accent); }
.chips .gap { flex: 1; }

.queries { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.query-row {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 1rem;
  padding: 0.3rem 0; border-bottom: 1px solid var(--rule);
}
.query-row.bare { grid-template-columns: minmax(0, 1fr); }
.query-row .text { font-family: var(--mono); font-size: 0.92em; overflow-wrap: anywhere; }
.query-row .where { grid-column: 2; color: var(--muted); font-size: 0.8em; }
.query-row.bare .where { grid-column: 1; }
.query-row .where a { color: inherit; }
.query-row .where p { margin: 0; }

ol.calls { padding-left: 2.2rem; margin: 0.5rem 0 1rem; }
ol.calls > li { margin: 0.35rem 0; }
ol.calls > li::marker { color: var(--muted); font-family: var(--mono); font-size: 0.85em; }
ol.calls ul { list-style: none; padding: 0; margin: 0; }
ol.calls .text { font-family: var(--mono); font-size: 0.92em; overflow-wrap: anywhere; }
ol.calls .together { color: var(--muted); font-size: 0.8em; }

.run-block { margin: 0 0 2rem; }
.run-block h2, .run-block h3 { margin: 0 0 0.15rem; }
.run-block .meta { margin: 0 0 0.5rem; font-size: 0.85em; }

table.fanout td.num, table.fanout th.num { text-align: right; width: 6rem; }
table.fanout td.prompt { max-width: 0; width: 100%; }
table.fanout td.prompt a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.fanout .pending { color: var(--muted); }

@media (max-width: 40rem) {
  .query-row { grid-template-columns: minmax(0, 1fr); }
  .query-row .where { grid-column: 1; }
  .crumb .clip { max-width: 12rem; }
  table.fanout td.num, table.fanout th.num { width: auto; }
}

/* --- a result, read as a typeset report ------------------------------------ */

/* The subject, what it answered, what it cited, then method and provenance.
   Type, spacing and thin rules carry the hierarchy; colour is for status and
   links. IDs are reference numbers, quiet until wanted. */
.artifact { max-width: 48rem; }
.artifact-header { margin-bottom: 2rem; }
.artifact-title {
  font-size: 1.9rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
  margin: 0.75rem 0 0.75rem; white-space: pre-wrap; overflow-wrap: anywhere;
}
.artifact-deck { color: var(--muted); margin: 0; }
.artifact-deck .status { font-family: inherit; font-size: inherit; }
.artifact-ref {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.5rem;
  margin: 0.75rem 0 0; font-size: 0.88em;
}

/* An action a result offers: said plainly, in the link colour. */
button.action {
  padding: 0; border: 0; background: none; color: var(--accent);
  text-decoration: underline; text-underline-offset: 0.15em;
}
button.action:hover { color: var(--fg); }

.identifier { display: inline-flex; align-items: baseline; gap: 0.5em; }
.identifier code { color: var(--muted); font-size: 0.9em; }
.identifier .copy {
  padding: 0; border: 0; background: none; color: var(--muted);
  font-size: 0.8em; text-decoration: underline; text-decoration-color: var(--rule);
}
.identifier .copy:hover { color: var(--accent); }

table.contents { margin: 0 0 1rem; font-size: 0.93em; }
table.contents td:nth-child(2) { width: 100%; }
table.contents td a { color: var(--fg); text-decoration: none; font-weight: 600; }
table.contents td a:hover { color: var(--accent); }
table.contents td.num, table.contents th.num { padding-right: 0; padding-left: 1.5rem; white-space: nowrap; }
table.contents td:first-child { padding-left: 0; padding-right: 1rem; color: var(--muted); }
table.contents td { padding-top: 0.35rem; padding-bottom: 0.35rem; }
table.contents tr:last-child td { border-bottom: 0; }
table.contents .status { font-family: inherit; font-size: inherit; }

.contents + .response { margin-top: 2rem; }
.response { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.response h2 { display: flex; align-items: baseline; gap: 0.75rem; margin: 0 0 1.25rem; font-size: 1.3rem; }
.response h2 .status { font-family: inherit; font-size: 0.8em; font-weight: 400; }
.nowrap { white-space: nowrap; }
.section-no { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.response h3.label { margin: 2rem 0 0.6rem; }

/* An answer is prose: set for reading, at a reading measure. */
.answer-text { font-size: 1.0625rem; line-height: 1.65; max-width: 68ch; overflow-wrap: break-word; }
.answer-text > :first-child { margin-top: 0; }
.answer-text p, .answer-text ul, .answer-text ol { margin: 0 0 0.9em; }
.answer-text li { margin: 0.25em 0; }
.answer-text h4, .answer-text h5, .answer-text h6 { font-size: 1em; font-weight: 600; margin: 1.6em 0 0.5em; }
.answer-text a { text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.answer-text table { display: block; overflow-x: auto; margin: 1rem 0; font-size: 0.88em; }
.answer-text :not(pre) > code { padding: 0 0.2rem; border: 1px solid var(--rule); }
.answer-text blockquote { margin: 1em 0; padding-left: 1rem; border-left: 2px solid var(--rule); color: var(--muted); }

/* Citations as references: [1] the title, the address beneath it. */
ol.references { list-style: none; padding: 0; margin: 0; counter-reset: ref; }
ol.references li {
  counter-increment: ref;
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr);
  padding: 0.3rem 0;
}
ol.references li::before {
  content: "[" counter(ref) "]";
  color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.9em; padding-top: 0.1em;
}
.ref-title { color: var(--fg); text-decoration: none; }
.ref-title:hover { color: var(--accent); text-decoration: underline; }
.ref-url { display: block; font-family: var(--mono); font-size: 0.78em; color: var(--muted); overflow-wrap: anywhere; }

.disclosure { margin: 1.25rem 0 0; }
.disclosure > summary { color: var(--muted); font-size: 0.93em; }
.disclosure > summary:hover { color: var(--fg); }
ul.seen { list-style: none; padding: 0 0 0 1rem; margin: 0.6rem 0 0; font-size: 0.88em; }
ul.seen li { padding: 0.15rem 0; overflow-wrap: anywhere; }
ul.seen a { color: var(--fg); text-decoration: none; }
ul.seen a:hover { color: var(--accent); text-decoration: underline; }

.run-error { margin: 0; }
.response-footer {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.25rem;
  margin: 1.75rem 0 0; color: var(--muted); font-size: 0.82em;
}
.response-footer > span:not(.identifier) { font-family: var(--mono); }

/* Method and provenance: an appendix, closed until wanted. */
.appendix { margin: 3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
.appendix + .appendix { margin-top: 0; }
.appendix > summary { font-weight: 600; }
.appendix > :not(summary) { margin-top: 1rem; }
.appendix p { max-width: 68ch; }

@media (max-width: 40rem) {
  .artifact-title { font-size: 1.5rem; }
  .response h2 { font-size: 1.15rem; }
  .answer-text { font-size: 1rem; }
  ol.references li { grid-template-columns: 2.25rem minmax(0, 1fr); }
  table.contents td.num, table.contents th.num { padding-left: 0.75rem; }
}
