/* A turn-of-the-millennium scientific workstation, with physical instruments. */
:root {
  color-scheme: light;
  --bg: #456780;
  --ink: #172f46;
  --text-muted: #4a6175;
  --muted: #a1b9ca;
  --left: #78e5ed;
  --right: #ffba79;
  --gf: #c1ec8c;
  --grid: #24495b;
  --trail: #146a9b;
  --focus: #035ac5;
  --silver: #d9e1e7;
  --mono: "Lucida Console", "SFMono-Regular", Consolas, "Courier New", monospace;
  font: 16px Tahoma, "Lucida Grande", Verdana, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  line-height: 1.5;
  background-color: var(--bg);
  background-image: linear-gradient(#bfd8ea0a 1px, transparent 1px), linear-gradient(90deg, #bfd8ea0a 1px, transparent 1px), radial-gradient(ellipse at 50% 0, #3e617a 0%, #466980 65%, #334f65 100%);
  background-size: 16px 16px, 16px 16px, 100% 100%;
  background-attachment: fixed;
  padding: 18px 24px 30px;
}
button, select, input {
  font: inherit;
}
button, select {
  cursor: pointer;
}
button:disabled, select:disabled, input:disabled {
  cursor: wait;
  opacity: .55;
}
button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible, .typed:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
a {
  color: #114f87;
  text-underline-offset: 3px;
}
a:hover {
  color: #002f65;
}
[hidden] {
  display: none !important;
}
h1, h2, p {
  margin: 0;
}
.desktop-heading {
  max-width: 1320px;
  margin: 0 auto 9px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #d8e6ee;
  font: 11px var(--mono);
  letter-spacing: .13em;
}
.workspace {
  max-width: 1320px;
  margin: auto;
  padding: 4px;
  border: 1px solid #273e54;
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(110deg, #eef3f7, #c1cdd6 55%, #d8e0e6);
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #8e9baa, 0 2px 0 #254257, 0 18px 45px #0a223a66;
}
.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  border: 1px solid #466ca3;
  border-radius: 5px 5px 1px 1px;
  padding: 4px 9px;
  background: linear-gradient(#7599c7, #4075b5 14%, #1a4f91 52%, #1c4982 53%, #3868a1);
  color: white;
  text-shadow: 0 1px #14385a;
  font-size: .8125rem;
  font-weight: bold;
  box-shadow: inset 0 1px 0 #b7d1e7;
}
.application-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border: 1px solid #cfe7ff;
  border-radius: 4px;
  background: linear-gradient(#d8f8ff, #458fbd 48%, #10508d 51%, #7dc9e2);
  box-shadow: 0 1px 1px #14385a;
  color: #fff;
  font: italic bold 18px Georgia, serif;
}
.window-grip {
  margin-left: auto;
  height: 10px;
  width: 48px;
  background: repeating-linear-gradient(90deg, #153d7044 0 2px, #bfdcf85c 2px 3px, transparent 3px 5px);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px 15px;
  background: linear-gradient(100deg, #f5f8fa, #dfe9f0 60%, #c5d3df);
  box-shadow: inset 0 -1px 0 #9baebe;
}
.eyebrow {
  color: var(--text-muted);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.identity h1 {
  font: italic bold 2.45rem/1.12 Arial, Helvetica, sans-serif;
  letter-spacing: -.07em;
  color: #1d3a55;
  text-shadow: 0 2px white;
  margin: 2px 0 4px;
}
.wordmark-accent {
  color: #3077a8;
}
.identity p {
  font-size: .8125rem;
  color: #405b70;
}
.divider {
  margin-inline: 6px;
  color: #8599ac;
}
.model-specs {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: right;
  padding-right: 2px;
}
.model-specs div {
  display: flex;
  flex-direction: column;
}
.model-specs b {
  font: 1.125rem var(--mono);
  font-weight: 500;
  color: #2b5576;
}
.model-specs span {
  color: #52697c;
  font-size: .6875rem;
}
.menubar {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #8d9fac;
  background: linear-gradient(#f4f6f7, #d5dee5);
  padding: 0 8px;
}
.menubar a {
  padding: 8px 15px;
  font-size: .8125rem;
  text-decoration: none;
  color: #24405a;
  border-inline: 1px solid transparent;
}
.menubar a:hover {
  background: #e5f0fa;
  border-color: #a7bfda;
}
.menubar .menu-primary {
  color: #10365c;
  font-weight: bold;
  box-shadow: inset 0 -3px #4d82ad;
}
.menubar .source-link {
  margin-left: auto;
}
.source-link span {
  margin-left: 5px;
}
main {
  padding: 0 17px 15px;
}
.replay-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 15px 2px 11px;
}
.replay-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  letter-spacing: .025em;
  color: #233f59;
  text-transform: none;
}
.panel-number {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid #7695ab;
  border-radius: 2px;
  background: linear-gradient(#f3f8fb, #ccdce7);
  color: #3c617c;
  font: 10px var(--mono);
  box-shadow: inset 0 1px white, 0 1px white;
  vertical-align: middle;
}
.status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #30475a;
  font-size: .75rem;
}
.status-lamp {
  height: 8px;
  width: 8px;
  border: 1px solid #4c7942;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #e6ffc9, #8dc35d 40%, #518437);
  box-shadow: 0 0 5px #a2d675, 0 1px #fff;
}
.status:has([data-state="paused"]) .status-lamp {
  background: #b2bdd0;
  border-color: #64788c;
  box-shadow: inset 0 1px 1px white;
}
.status:has([data-state="loading"]) .status-lamp {
  background: #deb760;
  border-color: #9b792b;
}
.status:has([data-state="error"]) .status-lamp {
  background: #db795b;
  border-color: #953924;
}
.writing-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.machine {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #7c8d9a;
  border-radius: 9px 9px 12px 12px;
  background: repeating-linear-gradient(0deg, #ffffff09 0 1px, transparent 1px 3px), linear-gradient(105deg, #e0e7ec, #bdc9d3 45%, #d5dfe6 80%, #aebcc8);
  box-shadow: inset 0 2px 1px #fff, inset 2px 0 2px #f3f8fa, inset -2px 0 2px #8d9fac, 0 4px 0 #83939e, 0 6px 0 #425665, 0 10px 13px #41556933;
  color: #293f4f;
}
.machine-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 57px;
  padding: 11px 19px 8px;
}
.machine-wordmark {
  font: bold .8125rem Arial, sans-serif;
  letter-spacing: .08em;
  text-shadow: 0 1px #fff;
}
.machine-wordmark > span {
  display: block;
  margin-top: 5px;
  font: 10px var(--mono);
  letter-spacing: .01em;
  color: #526a7d;
}
.specimen-select, .speed-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.specimen-select label, .speed-control label {
  font-size: .75rem;
  color: #385266;
}
select {
  min-height: 34px;
  border: 1px solid #71899d;
  border-radius: 3px;
  padding: 5px 24px 5px 9px;
  color: #223f58;
  background: linear-gradient(#fff, #e3edf4);
  box-shadow: inset 1px 1px 2px #92aabc66, 0 1px #f5f9fc;
  font-size: .8125rem;
}
.keyboard-deck {
  position: relative;
  padding: 8px 17px 0;
}
.keyboard-surround {
  position: relative;
  border: 1px solid #697b89;
  padding: 11px 9px 17px;
  border-radius: 7px;
  background: linear-gradient(#536773, #7e9098);
  box-shadow: inset 0 3px 7px #243f50b3, inset 1px 0 2px #304755, 0 2px 0 #f6fafc;
  perspective: 1000px;
}
.arena-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  transform: rotateX(8deg);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
}
.key-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.keycap {
  padding: 5px;
  position: relative;
  min-width: 0;
}
.key-face {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  width: 100%;
  padding-bottom: 5px;
  border: 1px solid #e0e5e4;
  border-radius: 7px 7px 9px 9px;
  background: linear-gradient(110deg, #d6dde0, #f4f6ee 42%, #edf1e9 72%, #c5d1d3);
  color: #3c5260;
  box-shadow: inset 0 2px 1px white, inset 3px 0 3px #fff, inset -3px 0 5px #899aa855, inset 0 -5px 2px #8b9eac44, 0 5px 0 #9daeb8, 0 6px 0 #5c7281, 0 8px 4px #263f5099;
  transition: transform 80ms ease-out, background 80ms, box-shadow 80ms;
}
.key-face::before {
  content: "";
  position: absolute;
  inset: 6px 7px 10px;
  border-radius: 22%;
  background: radial-gradient(ellipse at 50% 40%, #b0bcb922, transparent 70%);
  box-shadow: inset 0 1px 2px #82959c20, 0 1px 0 #fff9;
}
.key-label {
  position: relative;
  font: 500 clamp(14px, 1.5vw, 23px) var(--mono);
  text-transform: uppercase;
  text-shadow: 0 1px 1px white;
}
.keycap.is-active .key-face {
  transform: translateY(4px);
  color: #124965;
  background: linear-gradient(120deg, #75b6d2, #d0eef3 42%, #98cbdc);
  border-color: #bddde9;
  box-shadow: inset 0 1px 1px white, inset 0 -3px 3px #49779855, 0 2px 0 #6c9aa9, 0 3px 3px #233c4b99, 0 0 9px #b6f0fa55;
}
/* The 64px overscan matches arenaInset in replay.js; never move the data grid. */
#arena {
  position: absolute;
  inset: -64px;
  width: calc(100% + 128px);
  height: calc(100% + 128px);
  display: block;
  pointer-events: none;
  z-index: 2;
}
.keyboard-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #385368;
  padding: 11px 2px 10px;
  font-size: .6875rem;
  text-shadow: 0 1px #eef4f8;
}
.keyboard-caption b {
  display: inline-block;
  min-width: 19px;
  text-align: center;
  color: #163d5a;
  font: bold .8125rem var(--mono);
}
.caption-divider {
  padding-inline: 6px;
  opacity: .65;
}
.transport {
  padding: 12px 17px 12px;
  border-top: 1px solid #889dab;
  background: linear-gradient(#dfe7ed, #bdcbd7);
  box-shadow: inset 0 1px white;
}
.transport-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
button {
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid #748fa6;
  border-radius: 4px;
  color: #24415b;
  background: linear-gradient(#fdfefe, #e7f0f5 47%, #cfdee9 49%, #e0ebf2);
  box-shadow: inset 0 1px white, inset 1px 0 white, 0 2px 0 #8d9fac, 0 3px 3px #415b7133;
  font-size: .8125rem;
  text-shadow: 0 1px white;
}
button:hover {
  border-color: #316da8;
  background: linear-gradient(#fff, #e7f4ff 46%, #c7deee 49%, #e5f5ff);
}
button:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px #55728b66;
}
.play-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 97px;
  font-weight: bold;
  color: white;
  text-shadow: 0 1px #184d78;
  border-color: #306f9f;
  background: linear-gradient(#39749f, #306c98 45%, #1c527d 48%, #326d97);
  box-shadow: inset 0 1px #d9f5ff, 0 2px #2c5d81, 0 3px 3px #47698866;
}
.play-button:hover {
  color: white;
  background: linear-gradient(#39749f, #33719f 45%, #225d88 48%, #366f9b);
}
#play-icon {
  display: inline-block;
  width: 12px;
  font-size: .6875rem;
}
.session-button {
  white-space: nowrap;
}
.speed-control {
  margin-left: 3px;
}
.trail-button {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 5px 0 5px 6px;
  background: none;
  box-shadow: none;
  font-size: .75rem;
}
.trail-button:hover {
  background: none;
  text-decoration: underline;
}
.toggle-track {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px solid #718d9f;
  border-radius: 2px;
  background: #edf4f6;
  box-shadow: inset 1px 1px 2px #738d9a66, 0 1px white;
}
[aria-pressed="true"] .toggle-track::after {
  content: "✓";
  position: absolute;
  left: 1px;
  top: -4px;
  color: #145a8b;
  font-size: 16px;
  font-weight: bold;
}
.timeline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  padding: 6px 9px;
  min-height: 32px;
  background: linear-gradient(#c5d7d8, #e1ece8);
  border: 1px solid #78919c;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px #617e8899, 0 1px #f8fcfc;
}
body[data-mode="live"] .timeline {
  flex-wrap: wrap;
  justify-content: space-between;
}
.compute-rate {
  color: #335865;
  font-size: .6875rem;
}
.time {
  font: .75rem var(--mono);
  color: #244550;
  white-space: nowrap;
  margin-left: auto;
}
input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  height: 22px;
  flex: 1;
  min-width: 60px;
  width: 100%;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 2px;
  background: #809caa;
  box-shadow: inset 0 1px 2px #294b62, 0 1px white;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 22px;
  margin-top: -8px;
  border: 1px solid #638397;
  border-radius: 3px;
  background: linear-gradient(90deg, #b2c5cf, #f2f9f9 40%, #d4e0e7 65%, #8fa8b9);
  box-shadow: 0 2px 3px #29495f77;
}
input[type="range"]::-moz-range-track {
  height: 5px;
  background: #809caa;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 21px;
  border: 1px solid #638397;
  border-radius: 3px;
  background: #e6f0f4;
}
.transport-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #465f73;
  font: .6875rem var(--mono);
}
kbd {
  font: inherit;
  padding: 1px 4px;
  border: 1px solid #90a4b5;
  border-radius: 2px;
  box-shadow: 0 1px white;
}
.loading-overlay {
  position: absolute;
  inset: 8px 17px 37px;
  z-index: 5;
  border: 1px solid #7c97a8;
  border-radius: 6px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  background: #dfeaf4f2;
  color: #284962;
  box-shadow: inset 0 1px white;
  font-size: .875rem;
}
.manuscript {
  min-width: 0;
  border: 1px solid #7990a4;
  background: linear-gradient(110deg, #c2ced8, #e1e8ee);
  padding: 3px;
  border-radius: 4px;
  box-shadow: inset 0 1px white, 0 2px 0 #a2b1be, 0 5px 10px #4d647a22;
}
.document-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  min-height: 29px;
  color: #24465f;
  border: 1px solid #92a8bc;
  background: linear-gradient(#f5f9fc, #c1d5e4);
  box-shadow: inset 0 1px white;
}
.document-title h2 {
  font-size: .75rem;
  font-weight: 600;
}
.document-icon {
  color: #4f7798;
  font-size: 1rem;
  line-height: 1;
}
.file-type {
  margin-left: auto;
  padding-left: 5px;
  color: #5c7286;
  font: .625rem var(--mono);
}
.paper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 12px 9px 0;
  min-height: 326px;
  padding: 15px 26px 14px;
  color: #314b58;
  border-top: 1px solid white;
  background: repeating-linear-gradient(0deg, #d9e8ea55 0 28px, #fbfdf8 28px 56px);
  box-shadow: 0 1px 3px #2c495449, 0 4px 0 -1px #eff4ed, 0 5px 0 -1px #9aaeb0;
}
.paper::before, .paper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15px;
  background: radial-gradient(circle at 50% 15px, #91a6b1 0 2.5px, #d0dde0 3px, transparent 4px);
  background-size: 100% 28px;
}
.paper::before {
  left: 0;
  border-right: 1px dashed #b1c7c9;
}
.paper::after {
  right: 0;
  border-left: 1px dashed #b1c7c9;
}
.paper-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.print-label {
  color: #375767;
  font: bold .6875rem var(--mono);
  letter-spacing: .015em;
}
.paper-heading .eyebrow {
  color: #405f69;
  font: .625rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.paper-rule {
  border-top: 1px dashed #8daeb7;
  margin: 12px 0 13px;
}
.typed {
  flex: 1;
  min-height: 164px;
  max-height: 220px;
  overflow-y: auto;
  color: #263f4c;
  font: 1rem/1.75 "Courier New", monospace;
  letter-spacing: .02em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: #91a9b6 transparent;
}
.cursor {
  display: inline-block;
  width: .6em;
  height: 1em;
  border-bottom: 2px solid #3e677b;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.paper-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 9px;
  margin-top: 16px;
  border-top: 1px dashed #8daeb7;
  color: #476977;
  font: .625rem var(--mono);
}
.paper-footer b {
  font-weight: normal;
}
.manuscript-note {
  padding: 14px 12px 9px;
  color: #465d70;
  font-size: .75rem;
  line-height: 1.5;
}
.session-note {
  margin: 17px 0 15px;
  border: 1px solid #a7b7c5;
  padding: 8px 11px;
  background: #e7eef3;
  box-shadow: inset 0 1px white;
  color: #465e73;
  font-size: .75rem;
}
.neural-section {
  padding: 0;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 15px;
  padding: 0 2px 10px;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
}
.section-heading .eyebrow {
  font-size: .625rem;
  letter-spacing: .04em;
}
.readouts {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 1.6fr;
  gap: 8px;
  margin-bottom: 11px;
}
.ro {
  position: relative;
  min-width: 0;
  padding: 11px 12px 10px;
  background: linear-gradient(115deg, #122d40, #0e2537);
  border: 1px solid #667c8d;
  border-radius: 4px;
  box-shadow: inset 0 2px 4px #041322, 0 1px white;
}
.ro::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 1px;
  height: 35%;
  border-radius: 3px 3px 45% 15%;
  pointer-events: none;
  background: linear-gradient(#a5d8ed16, transparent);
}
.ro.left {
  --c: var(--left);
}
.ro.right {
  --c: var(--right);
}
.ro.gf {
  --c: var(--gf);
}
.readout-label {
  display: block;
  font-size: .6875rem;
  color: #b2c9d8;
}
.ro b {
  display: block;
  margin-top: 5px;
  color: var(--c, #dce9bf);
  font: 1.125rem/1.4 var(--mono);
  white-space: nowrap;
  text-shadow: 0 0 9px #9ff0ff30;
}
.ro.motion b {
  font-size: .8125rem;
  padding-block: 3px;
  white-space: normal;
}
.ro small {
  display: block;
  color: #a5becc;
  font-size: .625rem;
  margin-top: 3px;
}
.oscilloscope {
  position: relative;
  padding: 13px 16px 11px;
  border: 1px solid #687f90;
  border-radius: 6px;
  background-color: #0c2637;
  background-image: linear-gradient(#4b8fa50b 1px, transparent 1px), linear-gradient(90deg, #4b8fa50b 1px, transparent 1px), radial-gradient(ellipse at 40% 0, #284c5b44, transparent 70%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  box-shadow: inset 0 2px 8px #031b2b, 0 1px white;
}
.scope-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 10px;
}
.scope-header .eyebrow {
  color: #b8d8e4;
  font-size: .6875rem;
  font-weight: normal;
  letter-spacing: .08em;
}
.scope-unit {
  color: #7eabbc;
}
.scope-header .mono {
  font: .625rem var(--mono);
  color: #abc4d2;
}
.strip {
  display: block;
  width: 100%;
  height: 154px;
}
.legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px 19px;
  color: #bed0dc;
  font-size: .625rem;
  padding: 10px 4px 0;
}
.legend > span:not(.line-legend)::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 2px;
  background: var(--c);
  margin: 0 6px 3px 0;
}
.legend-left {
  --c: var(--left);
}
.legend-right {
  --c: var(--right);
}
.legend-gf {
  --c: var(--gf);
}
.line-legend {
  margin-left: auto;
  color: #a8c2d2;
}
.experiment-notes {
  margin-top: 15px;
  border: 1px solid #91a6b7;
  border-radius: 3px;
  background: #e8eef2;
  box-shadow: inset 0 1px white;
}
.experiment-notes summary {
  padding: 10px 11px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  color: #29485f;
  font-size: .8125rem;
  list-style: none;
}
.experiment-notes summary::-webkit-details-marker {
  display: none;
}
.methods-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclosure-mark {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1px solid #8298aa;
  background: #f1f6f9;
  font: 14px var(--mono);
}
.experiment-notes[open] .disclosure-mark {
  transform: rotate(45deg);
  border-color: transparent;
  background: none;
}
.notes-body {
  padding: 2px 18px 16px;
  max-width: 94ch;
  color: #415a6e;
  font-size: .875rem;
  line-height: 1.65;
}
.notes-body p + p {
  margin-top: 12px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 7px 12px;
  color: #4c6579;
  background: linear-gradient(#e0e9ef, #c7d4df);
  border: 1px solid #94a7b8;
  box-shadow: inset 1px 1px #f6f9fb, inset -1px -1px #b2c1ce;
  font-size: .625rem;
}
.site-footer a {
  color: #31597c;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 24px;
  z-index: 20;
  padding: 10px 15px;
  color: #173b61;
  background: white;
  border: 2px solid #4f83b5;
}
.skip-link:focus {
  top: 10px;
}
.no-script {
  padding: 25px;
  color: white;
  text-align: center;
}
.no-script a {
  color: #d9efff;
}
@media (max-width: 1150px) {
  body {
    padding-inline: 18px;
  }
  .writing-desk {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 14px;
  }
  main {
    padding-inline: 13px;
  }
  .machine-top {
    padding-inline: 14px;
  }
  .keyboard-deck {
    padding-inline: 12px;
  }
  .keycap {
    padding: 4px;
  }
  .transport {
    padding-inline: 13px;
  }
  .readouts {
    grid-template-columns: repeat(3, 1fr);
  }
  .ro.motion b {
    font-size: 1rem;
  }
}
@media (max-width: 850px) {
  .writing-desk {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .paper {
    min-height: 170px;
    padding-inline: 32px;
  }
  .paper-heading {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .typed {
    min-height: 56px;
    max-height: 140px;
  }
  .paper-footer {
    margin-top: 12px;
  }
  .manuscript-note {
    padding-block: 10px 7px;
  }
  .model-specs {
    gap: 15px;
  }
  .key-label {
    font-size: 1.125rem;
  }
}
@media (max-width: 560px) {
  body {
    padding: 10px 8px 18px;
  }
  .desktop-heading {
    font-size: 10px;
    letter-spacing: .06em;
    margin-bottom: 6px;
  }
  .workspace {
    padding: 3px;
    border-radius: 6px 6px 3px 3px;
  }
  .window-title {
    min-height: 28px;
    font-size: .6875rem;
    padding-inline: 6px;
    gap: 6px;
  }
  .window-grip {
    width: 20px;
  }
  .masthead {
    padding: 11px 11px 12px;
    gap: 9px;
  }
  .identity h1 {
    font-size: 2.05rem;
  }
  .identity .eyebrow {
    font-size: .5625rem;
    letter-spacing: .01em;
  }
  .identity p {
    font-size: .6875rem;
  }
  .divider {
    margin-inline: 3px;
  }
  .model-specs {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }
  .model-specs b {
    font-size: .8125rem;
  }
  .model-specs span {
    font-size: .5rem;
  }
  .menubar {
    padding-inline: 2px;
    flex-wrap: wrap;
  }
  .menubar a {
    font-size: .6875rem;
    padding: 7px 8px;
  }
  .menubar .source-link {
    padding-inline: 6px;
  }
  main {
    padding-inline: 7px;
    padding-bottom: 10px;
  }
  .replay-heading {
    padding: 11px 1px 9px;
    gap: 5px;
  }
  .replay-heading h2 {
    font-size: .75rem;
    gap: 5px;
  }
  .status {
    font-size: .625rem;
    gap: 5px;
  }
  .panel-number {
    height: 16px;
    min-width: 19px;
    font-size: 9px;
  }
  .machine-top {
    padding: 10px 11px 6px;
    gap: 8px;
  }
  .machine-wordmark {
    font-size: .6875rem;
  }
  .machine-wordmark > span {
    font-size: 8px;
  }
  .specimen-select label {
    display: none;
  }
  .specimen-select select {
    max-width: 136px;
    font-size: .6875rem;
    min-height: 32px;
    padding-right: 15px;
  }
  .keyboard-deck {
    padding: 6px 8px 0;
  }
  .keyboard-surround {
    padding: 6px 4px 10px;
    border-radius: 5px;
  }
  .keycap {
    padding: 2.5px;
  }
  .key-face {
    border-radius: 4px;
    padding-bottom: 1px;
    box-shadow: inset 0 1px 1px white, inset -2px 0 3px #899aa855, 0 3px 0 #9daeb8, 0 4px 0 #5c7281, 0 5px 3px #263f5099;
  }
  .key-face::before {
    inset: 4px 3px 5px;
  }
  .key-label {
    font-size: .8125rem;
  }
  .keycap.is-active .key-face {
    transform: translateY(2px);
  }
  .keyboard-caption {
    font-size: .5625rem;
    padding-block: 9px 7px;
  }
  .keyboard-caption b {
    font-size: .6875rem;
  }
  .transport {
    padding: 10px 10px 11px;
  }
  .transport-controls {
    gap: 7px;
  }
  .play-button {
    min-width: 82px;
    padding-inline: 9px;
  }
  .session-button {
    padding-inline: 10px;
  }
  .speed-control {
    gap: 4px;
    margin: 0;
  }
  .speed-control label {
    display: none;
  }
  .speed-control select {
    font-size: .75rem;
    padding-inline: 8px 15px;
    min-height: 36px;
  }
  .trail-button {
    min-height: 31px;
    padding-left: 0;
    font-size: .6875rem;
  }
  .timeline {
    gap: 5px 9px;
    padding: 6px 7px;
    margin-top: 10px;
  }
  .compute-rate, .time {
    font-size: .625rem;
  }
  .transport-foot {
    font-size: .625rem;
    gap: 5px;
  }
  .space-hint {
    display: none;
  }
  body[data-mode="recording"] .timeline {
    flex-wrap: wrap;
  }
  body[data-mode="recording"] .timeline input {
    flex-basis: 100%;
  }
  .section-heading h2 {
    font-size: .75rem;
    gap: 5px;
  }
  .section-heading .eyebrow {
    font-size: .5625rem;
  }
  .readouts {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .ro {
    padding-inline: 10px;
  }
  .ro b {
    font-size: 1rem;
  }
  .ro.motion b {
    font-size: .75rem;
    padding-block: 3px;
  }
  .session-note {
    font-size: .6875rem;
    padding: 7px 9px;
  }
  .oscilloscope {
    padding-inline: 8px;
  }
  .strip {
    height: 145px;
  }
  .legend {
    gap: 8px 12px;
  }
  .line-legend {
    flex-basis: 100%;
    margin-left: 0;
  }
  .notes-body {
    padding-inline: 12px;
    font-size: .8125rem;
  }
  .experiment-notes summary {
    font-size: .75rem;
    padding-inline: 9px;
  }
  .site-footer {
    font-size: .5625rem;
    gap: 5px;
    padding-inline: 8px;
  }
}
@media (max-width: 360px) {
  .window-subtitle {
    font-size: .625rem;
  }
  .window-grip {
    display: none;
  }
  .model-specs {
    display: none;
  }
  .identity .eyebrow {
    font-size: .625rem;
  }
  .menubar a {
    padding-inline: 6px;
  }
  .menubar .source-link {
    margin-left: 0;
  }
  .transport-controls {
    gap: 6px;
  }
  .play-button {
    min-width: 76px;
  }
  .session-button {
    padding-inline: 8px;
  }
  .machine-top {
    padding-inline: 9px;
  }
  .specimen-select select {
    max-width: 124px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
