@font-face {
  font-family: Cauce Sans;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZOIHQ.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
.cauce {
  --paper: #f5f5ef;
  --ink: #173237;
  --muted: #526567;
  --line: #dce1da;
  --green: #cefa77;
  --teal: #116e63;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 'Cauce Sans', 'Segoe UI', sans-serif;
}
.cauce * {
  box-sizing: border-box;
}
.cauce a {
  color: inherit;
  text-decoration: none;
}
.cauce button,
.cauce input {
  font: inherit;
}
.cauce button,
.cauce .primary {
  min-height: 42px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 7px;
  padding: 9px 14px;
  color: var(--ink);
  font-weight: 600;
  transition: background 0.18s, transform 0.18s;
}
.cauce button:hover {
  background: #e9ede4;
}
.cauce button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.cauce :focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 4px;
}
.cauce .primary {
  display: inline-flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.cauce .primary:hover {
  background: #25545a;
  transform: translateY(-1px);
}
.cauce h1,
.cauce h2,
.cauce h3,
.cauce p {
  margin: 0;
}
.cauce h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.cauce h3 {
  font-size: 18px;
  line-height: 1.35;
}
.cauce .wrap {
  width: min(1376px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-inline: 40px;
}
.brand {
  font-size: 19px;
  letter-spacing: -0.6px;
  font-weight: 800;
  white-space: nowrap;
}
.brand span {
  color: #0071e3;
  font-size: 32px;
  line-height: 0;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}
.contact-link {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 5px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 80px;
  padding: 64px 0 52px;
}
.eyebrow,
.small-label {
  font: 10px/1.5 Consolas, monospace;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  font-size: 42px;
  line-height: 1;
  color: var(--teal);
}
.eyebrow-rule {
  width: 26px;
  height: 1px;
  background: #aab9ac;
}
.cauce h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -3.3px;
  margin: 25px 0 22px;
  font-weight: 550;
}
.cauce h1 em {
  font-family: Georgia, serif;
  color: var(--teal);
  font-weight: 400;
  letter-spacing: -3px;
}
.intro-copy {
  max-width: 635px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.intro-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
}
.intro-notes span:before {
  content: '✓';
  margin-right: 7px;
  color: var(--teal);
}
.intro-aside {
  align-self: end;
  padding: 0 0 8px 22px;
  border-left: 1px solid #b8c4b5;
}
.intro-aside .small-label {
  font-size: 9px;
}
.intro-aside p {
  font-size: 19px;
  line-height: 1.6;
  margin: 15px 0 22px;
}
.intro-aside a {
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.intro-aside a span {
  margin-left: 35px;
}
.lab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px #233c3010;
  overflow: hidden;
  scroll-margin-top: 20px;
}
.lab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.lab-top > div:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lab-top strong {
  font-size: 13px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}
.lab-caption {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}
.file-actions {
  display: flex;
  gap: 8px;
}
.file-actions button {
  font-size: 11px;
  min-height: 34px;
  padding: 6px 10px;
}
.preset-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fafbf7;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.preset-bar > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.preset-bar button {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 12px;
}
.preset-bar button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.example-note {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}
.workspace {
  display: grid;
  grid-template-columns: 260px 1fr;
}
.settings {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.settings > .small-label {
  margin-bottom: 22px;
}
.cauce label {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.cauce input[type='text'],
.cauce input[type='number'] {
  width: 100%;
  border: 1px solid #cbd5cc;
  background: #fff;
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 5px;
  min-height: 42px;
}
.settings > input[type='text'] {
  font-size: 12px;
  margin-top: 8px;
}
.setting-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.setting-heading output {
  font: 18px Consolas, monospace;
}
.cauce input[type='range'] {
  width: 100%;
  accent-color: var(--teal);
  height: 24px;
  cursor: pointer;
  margin: 9px 0 0;
}
.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.stress-buttons {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}
.stress-buttons button {
  font-size: 10px;
  min-height: 32px;
  padding: 5px 7px;
  flex: 1;
}
.field-help {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.settings > .field-help {
  margin: 3px 0 24px;
}
.settings > input[type='number'] {
  margin-top: 8px;
}
.settings-note {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
.settings-note > span {
  font-size: 22px;
  color: var(--teal);
}
.cauce .text-button {
  border: 0;
  padding: 5px 0;
  font-size: 11px;
  margin-top: 14px;
  text-decoration: underline;
}
.experiment {
  min-width: 0;
  padding: 28px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.section-heading .small-label {
  margin-bottom: 8px;
}
.section-heading button {
  font-size: 11px;
  flex-shrink: 0;
}
.stage-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px !important;
}
.stage-editor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.stage-card {
  background: #f8faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
  position: relative;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.stage-number {
  font: 11px Consolas, monospace;
  color: var(--muted);
}
.stage-actions {
  display: flex;
  gap: 3px;
}
.cauce .stage-actions button {
  border: 0;
  min-height: 28px;
  width: 26px;
  padding: 0;
  font-size: 16px;
}
.stage-card input[type='text'] {
  font-size: 13px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 4px 0;
  margin-bottom: 16px;
  font-weight: 700;
  min-width: 0;
}
.stage-card label {
  font-size: 10px;
  color: var(--muted);
}
.stage-card input[type='number'] {
  padding: 5px 8px;
  margin-top: 4px;
  font-size: 14px;
  min-height: 36px;
}
.stage-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stage-fields > label:first-child {
  grid-column: 1/-1;
}
.automation-field {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.automation-field > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.automation-field label {
  color: var(--teal);
  font-size: 10px;
}
.automation-field output {
  color: var(--teal);
  font: 16px Consolas, monospace;
}
.automation-field input {
  accent-color: var(--teal);
}
.automation-field small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.run-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  gap: 16px;
}
.run-row p {
  font-size: 12px;
  color: var(--muted);
}
.run-row strong {
  color: var(--ink);
}
.run-row .primary {
  min-height: 47px;
  font-size: 13px;
  padding-inline: 20px;
}
.status {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px !important;
  min-height: 18px;
}
.status.error {
  color: #9d3020;
}
.results[data-stale='true'] .results-body {
  opacity: 0.6;
}
.flow-board {
  background: #102d32;
  color: #e7f0eb;
  padding: 30px 32px 20px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#8ab5a01c 0.8px, transparent 0.8px);
  background-size: 16px 16px;
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.board-header .small-label {
  color: #a4c2b9;
  margin-bottom: 8px;
}
.board-header h2 {
  font-size: 26px;
}
.board-tag {
  font: 9px Consolas, monospace;
  letter-spacing: 1px;
  border: 1px solid #547369;
  padding: 6px 10px;
  border-radius: 4px;
  color: #bdcec9;
}
.board-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0 30px;
}
.cauce .board-controls button {
  color: #e7f0eb;
  border-color: #537169;
  min-width: 125px;
  font-size: 11px;
  background: #1d3b40;
}
.cauce .board-controls button:hover {
  background: #315358;
}
.cauce .board-controls input {
  accent-color: var(--green);
  margin: 0;
}
.board-controls output {
  font: 11px Consolas, monospace;
  min-width: 132px;
  text-align: right;
  white-space: nowrap;
}
.flow-lane {
  display: grid;
  grid-template-columns: 126px 1fr 100px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
}
.flow-lane + .flow-lane {
  border-top: 1px solid #ffffff20;
}
.lane-label strong {
  font-size: 13px;
  display: block;
}
.lane-label span {
  font-size: 10px;
  color: #adc4bd;
}
.lane-track {
  display: flex;
  gap: 28px;
  align-items: stretch;
  min-width: 0;
}
.flow-node {
  flex: 1;
  min-width: 0;
  background: #1b3a3f;
  border: 1px solid #52726d;
  border-radius: 7px;
  padding: 10px 12px;
  position: relative;
  z-index: 1;
}
.flow-node:not(:last-child):after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 21px;
  color: #73958b;
  font-size: 19px;
}
.flow-node.bottleneck {
  border-color: #eac080;
  background: #493e2b;
}
.flow-node h3 {
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.node-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  font: 10px Consolas, monospace;
  gap: 5px;
}
.node-active {
  color: #d2e9e0;
}
.node-queue {
  color: #efc584;
}
.node-dots {
  display: flex;
  gap: 3px;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
}
.node-dots i {
  width: 4px;
  height: 4px;
  background: #efc584;
  border-radius: 50%;
  flex-shrink: 0;
}
.improved .flow-node {
  border-color: #7f9d68;
  background: #2a4437;
}
.improved .node-active {
  color: var(--green);
}
.lane-end {
  text-align: right;
}
.lane-end strong {
  font: 26px Consolas, monospace;
  display: block;
}
.lane-end span {
  font-size: 10px;
  color: #adc4bd;
}
.improved .lane-end strong {
  color: var(--green);
}
.board-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  color: #adc4bd;
  font-size: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d2e9e0;
  margin-right: 5px;
}
.legend-dot.amber {
  background: #efc584;
}
.results-body {
  padding: 32px;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.results-heading .small-label {
  margin-bottom: 9px;
}
.results-heading > p {
  font-size: 11px;
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.metric:first-child {
  background: #edf5e5;
  border-color: #d3e2c6;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
}
.metric-value {
  display: block;
  font-size: 36px;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 13px 0 10px;
  font-weight: 600;
}
.metric-value small {
  font-size: 17px;
  letter-spacing: -0.4px;
}
.metric-detail {
  font-size: 11px;
  color: var(--muted);
}
.analysis-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}
.analysis-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  min-width: 0;
}
.analysis-panel .section-heading {
  align-items: start;
}
.analysis-panel .section-heading > .small-label {
  font-size: 8px;
  white-space: nowrap;
}
.analysis-panel > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.load-row {
  margin-top: 20px;
}
.load-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  margin-bottom: 7px;
}
.load-heading span:last-child {
  font: 10px Consolas, monospace;
  white-space: nowrap;
}
.load-track {
  height: 15px;
  background: #f0f3ed;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.load-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  background: #728780;
  min-width: 1px;
}
.load-bar.after {
  top: 9px;
  background: var(--teal);
}
.load-track:after {
  content: '';
  position: absolute;
  left: var(--limit);
  height: 100%;
  width: 1px;
  background: #b64c36;
}
.chart-key {
  display: flex;
  gap: 18px;
  font-size: 10px;
  margin-top: 19px;
  color: #647971;
}
.chart-key span:last-child {
  color: var(--teal);
}
.insight-panel {
  background: #f7f8f3;
}
.insight-panel > .small-label {
  color: var(--teal);
}
.insight-panel h3 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin-top: 14px;
}
.insight-panel > p {
  line-height: 1.8;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.rank-item:first-child {
  margin-top: 10px;
}
.rank-item > span:first-child {
  font: 11px Consolas, monospace;
  color: var(--muted);
}
.rank-item strong {
  margin-left: auto;
  color: var(--teal);
  font-size: 11px;
  white-space: nowrap;
}
.comparison {
  margin-top: 22px;
  border-block: 1px solid var(--line);
}
.cauce summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 19px 0;
}
.table-scroll {
  overflow-x: auto;
  padding-bottom: 16px;
}
.cauce table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
.cauce td,
.cauce th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.cauce th {
  font-weight: 600;
  color: var(--muted);
}
.export-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
}
.export-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.export-row > div:last-child {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.export-row button {
  font-size: 11px;
}
.method {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 100px;
  padding: 70px 0;
}
.method h2 {
  font-size: 32px;
  margin: 16px 0 18px;
}
.method > div > p:last-child {
  max-width: 400px;
  font-size: 13px;
  color: var(--muted);
}
.method details {
  border-bottom: 1px solid #cfd8ce;
}
.method details:first-child {
  border-top: 1px solid #cfd8ce;
}
.method details p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
  line-height: 1.8;
}
.closing {
  text-align: center;
  padding: 45px 20px 60px;
  border-block: 1px solid #cfd8ce;
}
.closing h2 {
  font-size: 42px;
  margin: 20px 0;
}
.closing p {
  max-width: 420px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 13px;
}
.closing .primary {
  font-size: 12px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  font-size: 10px;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 20px;
}
.site-footer .brand {
  font-size: 15px;
  color: var(--ink);
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  z-index: 9;
  top: 8px;
  left: 8px;
  padding: 10px;
  background: #fff;
}
.print-only {
  display: none;
}
.noscript {
  padding: 30px;
}
/* Featured entry also used on the existing tools directory. */
.cauce-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 0 0 36px;
  padding: 40px;
  background: #102d32;
  color: #f0f5e9;
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
}
.cauce-feature .cf-tag {
  font: 11px Consolas, monospace;
  letter-spacing: 1.5px;
  color: #cefa77;
}
.cauce-feature h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 16px 0;
}
.cauce-feature p {
  font-size: 15px;
  line-height: 1.7;
  color: #bdd1c9;
  max-width: 480px;
}
.cauce-feature .cf-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  color: #cefa77;
}
.cf-visual {
  background: radial-gradient(#8ab5a025 1px, transparent 1px);
  background-size: 14px 14px;
  padding: 25px 14px;
  border: 1px solid #43645d;
  border-radius: 10px;
}
.cf-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font: 11px Consolas, monospace;
  color: #bdd1c9;
}
.cf-route span {
  padding: 14px 10px;
  border: 1px solid #55746b;
  border-radius: 5px;
  flex: 1;
  text-align: center;
}
.cf-route .cf-jam {
  border-color: #efc584;
  color: #efc584;
  background: #493e2b;
}
.cf-route:last-child span {
  border-color: #91b478;
  color: #cefa77;
  background: #2a4437;
}
.cf-caption {
  font: 10px Consolas, monospace;
  color: #acc4bb;
  margin: 18px 0 0;
  text-align: center;
}
.cauce-feature:hover .cf-link {
  text-decoration: underline;
}
.lane-track.many-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.many-stages .flow-node:after {
  display: none;
}
@media (max-width: 760px) {
  .lane-track.many-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1550px) {
  .intro {
    padding-top: 78px;
    padding-bottom: 64px;
  }
}
@media (max-width: 1150px) {
  .cauce .wrap {
    width: calc(100% - 48px);
  }
  .intro {
    gap: 40px;
    grid-template-columns: 1fr 220px;
  }
  .workspace {
    grid-template-columns: 220px 1fr;
  }
  .settings {
    padding: 24px 18px;
  }
  .experiment {
    padding: 24px 20px;
  }
  .stage-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lab-caption,
  .example-note {
    display: none;
  }
  .flow-lane {
    grid-template-columns: 100px 1fr 65px;
    gap: 10px;
  }
  .lane-track {
    gap: 18px;
  }
  .flow-node {
    padding: 8px;
  }
  .flow-node:not(:last-child):after {
    right: -17px;
    font-size: 14px;
  }
  .board-tag {
    display: none;
  }
  .analysis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-panel {
    padding: 18px;
  }
  .analysis-panel .section-heading {
    display: block;
  }
  .export-row {
    align-items: start;
  }
  .export-row > div:last-child {
    flex-direction: column;
  }
  .method {
    gap: 50px;
  }
  .metric {
    padding: 16px;
  }
  .metric-value {
    font-size: 30px;
  }
  .cauce-feature {
    padding: 30px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding-inline: 20px;
  }
  .site-header nav {
    gap: 16px;
  }
  .contact-link {
    display: none;
  }
  .cauce .wrap {
    width: calc(100% - 32px);
  }
  .intro {
    display: block;
    padding: 36px 0;
  }
  .cauce h1 {
    font-size: 46px;
    letter-spacing: -2.3px;
  }
  .cauce h1 em {
    letter-spacing: -2px;
  }
  .intro-copy {
    font-size: 15px;
  }
  .intro-aside {
    display: none;
  }
  .intro-notes {
    gap: 13px;
    font-size: 10px;
  }
  .eyebrow {
    font-size: 9px;
    gap: 10px;
  }
  .lab-top {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .lab-top strong {
    font-size: 12px;
  }
  .file-actions button {
    font-size: 10px;
  }
  .preset-bar {
    padding: 18px 16px;
    gap: 10px;
  }
  .preset-bar > div {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .preset-bar button {
    font-size: 11px;
  }
  .workspace {
    display: block;
  }
  .settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .settings > .small-label,
  .settings > label,
  .settings > input,
  .settings > .setting-heading,
  .settings > .range-ends,
  .settings > .field-help,
  .settings > .settings-note,
  .settings > .text-button,
  .settings > .stress-buttons {
    grid-column: 1/-1;
  }
  .settings > .small-label {
    margin: 0 0 8px;
  }
  .setting-heading {
    margin-top: 12px;
  }
  .settings > .field-help {
    margin-bottom: 10px;
  }
  .settings-note {
    margin-top: 12px;
  }
  .settings > .text-button {
    justify-self: start;
    margin-top: 0;
  }
  .experiment {
    padding: 24px 18px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading {
    gap: 8px;
  }
  .section-heading button {
    padding: 6px 8px;
    font-size: 10px;
  }
  .stage-card {
    padding: 12px;
  }
  .stage-hint {
    font-size: 10px;
  }
  .run-row {
    align-items: start;
    flex-direction: column;
  }
  .run-row .primary {
    width: 100%;
    justify-content: space-between;
  }
  .flow-board {
    padding: 24px 18px;
  }
  .board-header h2 {
    font-size: 24px;
  }
  .board-controls {
    gap: 10px;
    flex-wrap: wrap;
  }
  .board-controls input {
    order: 3;
    flex-basis: 100%;
  }
  .board-controls output {
    margin-left: auto;
    font-size: 10px;
  }
  .flow-lane {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .lane-track {
    grid-row: 2;
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .flow-node:not(:last-child):after {
    display: none;
  }
  .lane-label {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .lane-end {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .lane-end strong {
    font-size: 22px;
  }
  .board-legend {
    gap: 10px;
    font-size: 9px;
    margin-top: 15px;
  }
  .board-legend > span:last-child {
    width: 100%;
    text-align: center;
  }
  .results-body {
    padding: 24px 18px;
  }
  .results-heading {
    display: block;
  }
  .results-heading h2 {
    font-size: 25px;
  }
  .results-heading > p {
    margin-top: 10px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .metric {
    padding: 14px 12px;
  }
  .metric-value {
    font-size: 29px;
  }
  .metric-label,
  .metric-detail {
    font-size: 10px;
  }
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  .analysis-panel {
    padding: 20px;
  }
  .analysis-panel .section-heading {
    display: flex;
  }
  .export-row {
    flex-direction: column;
  }
  .export-row > div:last-child {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .export-row button {
    flex: 1;
  }
  .method {
    grid-template-columns: 1fr;
    padding: 44px 0;
    gap: 25px;
  }
  .method h2 {
    font-size: 30px;
  }
  .closing {
    padding: 36px 10px;
  }
  .closing h2 {
    font-size: 34px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 15px;
    padding: 24px 0;
  }
  .site-footer > span {
    display: none;
  }
  .cauce-feature {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 20px;
  }
  .cauce-feature h2 {
    font-size: 29px;
  }
  .cauce-feature p {
    font-size: 14px;
  }
  .cf-visual {
    padding: 15px 10px;
  }
  .cf-route {
    font-size: 9px;
    gap: 5px;
  }
  .cf-route span {
    padding: 12px 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cauce * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .cauce {
    background: white;
    font-size: 10px;
    --muted: #334747;
  }
  .cauce .wrap {
    width: 100%;
  }
  .site-header,
  .intro,
  .lab-top,
  .preset-bar,
  .workspace,
  .flow-board,
  .export-row,
  .method,
  .closing,
  .site-footer,
  .status,
  .skip {
    display: none !important;
  }
  .lab {
    border: 0;
    box-shadow: none;
  }
  .results-body {
    padding: 0;
  }
  .results[data-stale='true'] .results-body {
    opacity: 1;
  }
  .results-heading h2 {
    font-size: 24px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 12px;
  }
  .metric-value {
    font-size: 26px;
  }
  .analysis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-panel {
    padding: 12px;
    break-inside: avoid;
  }
  .analysis-panel h3 {
    font-size: 18px;
  }
  .comparison {
    display: block;
  }
  .comparison .table-scroll {
    display: block;
  }
  .print-only {
    display: block;
    margin-top: 20px;
  }
  .print-only h2 {
    font-size: 18px;
  }
  .print-only p {
    margin-block: 10px;
  }
  .cauce td,
  .cauce th {
    padding: 6px;
  }
  .cauce details > summary {
    list-style: none;
  }
  .metric,
  .rank-item,
  tr {
    break-inside: avoid;
  }
  a {
    color: inherit !important;
  }
  .cauce {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  @page {
    size: A4;
    margin: 14mm;
  }
}
