/* Merkle Proof. The accent marks the thing this machine is about and nothing else.

   Everything above the first machine-specific rule is the floor every page on
   this studio needs, and it is generated rather than remembered: four separate
   gates caught all four of these missing on all five machines built on
   2026-08-17, and every one of them is invisible in a screenshot. */

:root { --accent: #0088cc; }

/* Leaving the background out is the invisible one: the browser paints a dark
   canvas from color-scheme, so the page looks right while having no background
   colour at all, and a contrast checker then measures against white and is
   correct to fail it. */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--la-font-ui);
  background: var(--la-page);
  color: var(--la-ink);
  line-height: var(--la-leading-body);
  -webkit-font-smoothing: antialiased;
}

main.nibble {
  max-width: var(--la-measure);
  margin: 0 auto;
  padding: 3rem 1.25rem 3rem;
}

/* The measure belongs to the column, not to every block inside it. */
main.nibble p, main.nibble ul, main.nibble ol, main.nibble dl,
main.nibble h1, main.nibble h2 { max-width: none; }

.mk-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.mk-steplabel { margin: var(--la-space-5) 0 var(--la-space-2); font-weight: 600; color: var(--la-ink); }
.mk-stepno {
  display: inline-block; min-width: 1.6rem; margin-right: 0.5rem;
  padding: 0.05rem 0.5rem; border: 1px solid var(--la-hairline-strong);
  border-radius: 999px; font-family: var(--la-font-mono);
  font-size: var(--la-text-xs); color: var(--la-ink-dim); text-align: center;
}
.mk-hint { margin: 0 0 var(--la-space-3); color: var(--la-ink-dim); }

.mk-knob { margin: var(--la-space-3) 0; }
.mk-knob label { display: block; margin-bottom: 0.35rem; color: var(--la-ink-dim); font-size: var(--la-text-sm); }
.mk-value { color: var(--accent); font-family: var(--la-font-mono); }
.mk-range { width: 100%; max-width: 24rem; accent-color: var(--accent); }
.mk-input {
  width: 100%; max-width: 30rem; padding: 0.45rem 0.6rem;
  border: 1px solid var(--la-hairline-strong); border-radius: var(--la-radius-sm, 4px);
  background: var(--la-sunken); color: var(--la-ink);
  font-family: var(--la-font-mono); font-size: var(--la-text-sm);
}
.mk-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mk-presets { display: flex; flex-wrap: wrap; gap: var(--la-space-2); margin: var(--la-space-3) 0; }
.mk-btn {
  padding: 0.45rem 0.9rem; border: 1px solid var(--la-hairline-strong);
  border-radius: var(--la-radius-sm, 4px); background: var(--la-raised);
  color: var(--la-ink); font-family: var(--la-font-mono); font-size: var(--la-text-sm);
  cursor: pointer;
}
.mk-btn:hover { border-color: var(--accent); }
.mk-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.mk-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mk-table { width: 100%; border-collapse: collapse; font-size: var(--la-text-sm); }
.mk-table th, .mk-table td {
  text-align: left; padding: 0.35rem 0.6rem; border-bottom: 1px solid var(--la-hairline);
}
.mk-table thead th {
  font-size: var(--la-text-xs); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--la-ink-dim); font-weight: 600;
}
.mk-table tbody th, .mk-table td {
  font-family: var(--la-font-mono); font-size: 0.8rem; color: var(--la-ink-dim); font-weight: 400;
}
/* The row that matters, marked by a rule and by a word in its own cell as well
   as by colour, so it survives forced colours and a monochrome print. */
.mk-table tr[data-mark="yes"] td { color: var(--accent); }
.mk-table tr[data-mark="yes"] th {
  border-left: 3px solid var(--accent); padding-left: 0.45rem; color: var(--accent);
}

.mk-readout { margin: var(--la-space-4) 0 0; }
.mk-row {
  display: flex; justify-content: space-between; gap: var(--la-space-3);
  padding: 0.4rem 0; border-bottom: 1px solid var(--la-hairline);
}
.mk-row dt { color: var(--la-ink-dim); font-size: var(--la-text-sm); }
.mk-num { font-family: var(--la-font-mono); color: var(--la-ink); margin: 0; word-break: break-all; }
.mk-row.mk-strong dd { color: var(--accent); }

.mk-verdict { margin: var(--la-space-3) 0 0; color: var(--la-ink-dim); font-size: var(--la-text-sm); }
.mk-verdict[data-mark="yes"] { border-left: 3px solid var(--accent); padding-left: 0.7rem; }
