body {
  background: radial-gradient(ellipse at 65% 6%, #69524a, transparent 57%), #292e3b;
}
.maker-hero,
.patch-panel,
.runner,
.toolbox,
.desk-tile {
  border: 1.5px solid #978476;
  border-radius: 12px;
}
.maker-hero {
  margin: 16px 0;
  background:
    linear-gradient(90deg, #251e19ca, #30241a45 56%, transparent 80%),
    url(assets/maker-workshop.webp) center 54% / cover;
  min-height: 235px;
  aspect-ratio: 2.8;
  display: flex;
  align-items: center;
  padding: clamp(20px, 4vw, 50px);
}
.maker-hero > div {
  max-width: 46%;
}
.maker-hero h1 {
  font: 700 clamp(36px, 5.6vw, 70px)/0.97 var(--pixel);
  color: #ffdfa0;
  margin: 6px 0;
}
.maker-hero p {
  color: #fff2d2;
  margin: 8px 0 16px;
}
.desk-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.desk-tile {
  background: #3d4145;
  padding: 15px;
  text-decoration: none;
}
.desk-tile h2,
.patch-panel h2,
.toolbox h2 {
  font: 700 25px var(--pixel);
  margin: 4px 0;
  color: #ffe3b0;
}
.desk-tile p,
.patch-panel p,
.toolbox p {
  margin: 4px 0 8px;
}
.maker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.78fr);
  align-items: start;
  gap: 15px;
}
.maker-grid .notebook {
  background: #313c44;
}
.maker-grid .notebook h3 {
  font: 700 19px var(--pixel);
  margin-bottom: 0;
}
.maker-grid .notebook ul {
  padding-left: 20px;
}
.caption,
.quiet {
  color: #d4d6cd;
}
.caption {
  font-size: 0.89rem;
}
.patch-panel,
.runner,
.toolbox {
  padding: 14px;
  margin-bottom: 12px;
  background: #383f46;
}
.patch-panel {
  background: linear-gradient(110deg, #323c46, #49423e);
  box-shadow: inset 0 0 0 5px #2e35377a;
}
.patch-title,
.runner-head,
.indicators {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.patch-title .face {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
}
.wiregrid {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(45px, 0.6fr) minmax(86px, 1fr);
  padding: 8px 0;
}
.wiregrid svg {
  width: 100%;
  height: 100%;
  min-width: 0;
}
.cord {
  fill: none;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.ports,
.targets {
  display: grid;
  align-content: start;
  grid-auto-rows: 44px;
  gap: 3px;
}
.wiregrid button {
  line-height: 1.05;
  border: 1px solid #989082;
  border-radius: 7px;
  padding: 4px 7px;
  background: #29343b;
  color: #fdf0d9;
  width: 100%;
  text-align: left;
  font-weight: 750;
}
.ports button {
  border-left: 5px solid var(--wire);
}
.ports button span,
.ports button small {
  display: block;
}
.ports button small {
  color: #d4d3be;
  margin-top: 3px;
  font-size: 0.76rem;
}
.ports button[aria-pressed='true'] {
  background: #534e42;
  outline: 2px solid var(--wire);
}
.targets button[aria-pressed='true'] {
  background: #f0d899;
  color: #3b392f;
}
.runner-head select {
  max-width: 170px;
  color: #283839;
  background: #fbefce;
  font: inherit;
}
.runner-head {
  flex-wrap: wrap;
}
.runner-head label {
  font-size: 0.9rem;
}
.indicators {
  background: #263337;
  border-radius: 7px;
  padding: 8px 10px;
  margin-top: 10px;
}
.indicators b {
  color: #b9e4c6;
}
.run-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.run-controls button {
  min-height: 37px;
}
.run-controls button:disabled {
  opacity: 0.45;
  cursor: default;
}
.run-controls [data-act='run'],
.run-controls [data-act='suite'],
.run-controls [data-act='resume'] {
  background: #f0d596;
  color: #302f2d;
}
.trace {
  list-style: none;
  padding: 0;
  max-height: 245px;
  overflow: auto;
  margin: 10px 0 2px;
  border-top: 1px solid #657478;
}
.trace li {
  padding: 6px 0;
  border-bottom: 1px dotted #728081;
}
.trace b {
  font-size: 0.88rem;
  display: inline-block;
  border: 1px solid #758b86;
  border-radius: 4px;
  padding: 1px 4px;
  color: #ccead6;
}
.ink {
  border: 1px dashed #bca473;
  border-radius: 6px;
  padding: 6px;
  color: #ffe9ae;
}
.case-checks {
  padding: 0;
  list-style: none;
}
.case-checks li {
  padding: 6px 0;
}
.case-checks li span {
  display: block;
  color: #dde0d3;
  font-size: 0.91rem;
}
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .maker-grid {
    grid-template-columns: 1fr;
  }
  .desk-list {
    grid-template-columns: 1fr;
  }
  .maker-hero > div {
    max-width: 72%;
  }
  .maker-hero {
    aspect-ratio: auto;
  }
  .heading {
    align-items: flex-start;
  }
  .wiregrid button {
    font-size: 0.88rem;
  }
  .runner-head select {
    max-width: 150px;
  }
}
.test-summary {
  color: #ffe6ad;
  font-weight: 800;
}
