@font-face {
  font-family: Lab Sans;
  src: url("fonts/NotoSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Lab Display;
  src: url("fonts/Roboto-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0c1014;
  --panel: #141a1f;
  --panel2: #191f25;
  --line: #303940;
  --line-soft: #283038;
  --text: #f0f4f4;
  --muted: #a9b4ba;
  --faint: #94a2aa;
  --mint: #83efd0;
  --lav: #b5a4ff;
  --mono: ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  --display: "Lab Display",Arial,sans-serif;
  --body: "Lab Sans",Arial,sans-serif;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-synthesis: weight;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

button,input,textarea {
  font: inherit;
}

button,a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,a:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #fff1a6;
  outline-offset: 4px;
}

input:focus,textarea:focus {
  outline: 2px solid var(--mint);
  outline-offset: 1px;
}

h1,h2,h3,p,dl,dd,fieldset {
  margin: 0;
}

h1,h2,h3,strong,.button,.brand {
  font-family: var(--display);
  font-weight: 700;
}

svg {
  display: block;
}

.ic {
  width: 1.16rem;
  height: 1.16rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(1328px,calc(100% - 9.4%));
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 20;
  left: 1rem;
  top: -6rem;
  background: var(--mint);
  color: #113025;
  padding: .7rem 1rem;
}

.skip:focus {
  top: .5rem;
}

.mast {
  border-bottom: 1px solid #262e33;
  background: #0e1317;
}

.mast-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 23px;
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.brand img {
  margin-right: 10px;
  width: 34px;
  height: 34px;
}

.brand span {
  color: var(--mint);
}

nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 30px;
}

nav a,nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}

nav button .ic {
  width: 16px;
  height: 16px;
}

nav .nav-current {
  color: #edfaf6;
}

.nav-current:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--mint);
  left: 0;
  right: 0;
}

nav button:hover,footer button:hover {
  color: var(--mint);
}

.engine-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font: 12px var(--mono);
  color: #b5c5c2;
  white-space: nowrap;
}

.engine-status span {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 100%;
  box-shadow: 0 0 8px #83efd04d;
}

.hero {
  position: relative;
  isolation: isolate;
  border: 1px solid #3a4548;
  border-radius: 13px;
  background: linear-gradient(120deg,#172825,#182426 42%,#182228 77%,#1d272e);
  margin-top: 24px;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff0c,0 9px 28px #0002;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#a4dfce0c 1px,transparent 1px),linear-gradient(90deg,#a4dfce0c 1px,transparent 1px),linear-gradient(#b3e1d105 1px,transparent 1px),linear-gradient(90deg,#b3e1d105 1px,transparent 1px),radial-gradient(ellipse at 76% 2%,#50635d47,transparent 56%);
  background-size: 40px 40px,40px 40px,8px 8px,8px 8px,100% 100%;
  background-position: center;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  min-height: 244px;
}

.hero-copy {
  padding: 32px 0 12px clamp(30px,3.7vw,60px);
  position: relative;
  z-index: 1;
}

.overline {
  font: 700 12px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal-bars {
  display: inline-flex;
  height: 16px;
  align-items: center;
  gap: 2px;
}

.signal-bars i {
  width: 2px;
  background: var(--mint);
  height: 6px;
}

.signal-bars i:nth-child(2) {
  height: 12px;
}

.signal-bars i:nth-child(3) {
  height: 16px;
}

.signal-bars i:nth-child(4) {
  height: 10px;
}

h1 {
  font-size: clamp(52px,5.85vw,88px);
  letter-spacing: -.061em;
  line-height: 1.03;
  white-space: nowrap;
  margin: 12px 0 13px;
}

h1 em {
  font: inherit;
  color: var(--mint);
}

.hero-copy p {
  max-width: 38ch;
  font: 400 clamp(16px,1.19vw,18px)/1.6 var(--body);
  color: #c5d0d0;
}

.art-stage {
  height: 100%;
  position: relative;
  min-height: 238px;
}

.scope-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 6px);
  object-fit: contain;
  padding: 6px clamp(12px,2.4vw,44px) 0 0;
  filter: drop-shadow(0 10px 13px #0004);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 26px;
  position: relative;
  z-index: 1;
}

.partner {
  min-width: 236px;
  min-height: 64px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 28px;
  background: var(--mint);
  color: #102b23;
  font: 700 15px/1.3 var(--display);
  letter-spacing: .028em;
  box-shadow: inset 0 1px #fff5,0 3px 0 #0002;
  transition: filter .15s ease,transform .15s ease;
}

.partner .ic {
  width: 23px;
  height: 23px;
}

.discord {
  --icon-cut: var(--mint);
}

.streamer {
  background: var(--lav);
  color: #211b3c;
}

.partner:hover {
  filter: brightness(1.09);
  transform: translateY(-1px);
}

.bolt {
  width: 7px;
  height: 7px;
  position: absolute;
  border-radius: 50%;
  border: 1px solid #64706a;
  background: #242f2d;
  box-shadow: 0 1px 2px #000b;
  pointer-events: none;
}

.bolt:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 4px;
  background: #0b1310;
  top: 2px;
  left: 1px;
  transform: rotate(-35deg);
}

.b1 {
  top: 12px;
  left: 12px;
}

.b2 {
  top: 12px;
  right: 12px;
}

.b3 {
  bottom: 12px;
  left: 12px;
}

.b4 {
  bottom: 12px;
  right: 12px;
}

#workbench {
  scroll-margin-top: 14px;
}

.bench-heading,.bench-title,.session-tools,.panel-title,.trace-head,.metric-heading,.legend,.scope-meta {
  display: flex;
  align-items: center;
}

.bench-heading {
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 16px;
}

.bench-title {
  gap: 13px;
}

.rail-mark {
  width: 5px;
  height: 25px;
  background: var(--mint);
  border-radius: 1px;
}

h2 {
  font-size: clamp(24px,2.1vw,31px);
  line-height: 1.2;
  letter-spacing: -.038em;
}

.session-tools {
  gap: 18px;
}

.session-state,.quiet,.axis-info {
  font: 12px/1.5 var(--mono);
  color: var(--faint);
}

.session-state:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89969c;
  margin-right: 7px;
  vertical-align: 2px;
}

.button,.sample-button,.close {
  background: #21282f;
  border: 1px solid #3d474e;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button {
  min-height: 43px;
  font-size: 14px;
  padding: 9px 15px;
}

.button.small {
  white-space: nowrap;
  min-height: 38px;
  padding: 7px 14px;
}

.button.small .ic {
  width: 15px;
  height: 15px;
}

.button:hover,.sample-button:hover,.close:hover {
  background: #2b353d;
  border-color: #62716f;
}

.bench-grid {
  display: grid;
  grid-template-columns: minmax(275px,.83fr) minmax(0,2fr);
  gap: 16px;
  align-items: stretch;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
  box-shadow: inset 0 1px #ffffff04;
}

.inputs,.trace,.comparison {
  padding: 21px 23px;
}

.panel-title {
  gap: 10px;
}

.panel-title>.ic {
  color: var(--mint);
  width: 20px;
  height: 20px;
}

h3 {
  font-size: 20px;
  letter-spacing: -.026em;
  line-height: 1.3;
}

.panel-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

#channels {
  display: grid;
  gap: 10px;
  margin: 18px 0 12px;
}

.channel {
  --ch: var(--mint);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  text-align: left;
  padding: 12px;
  border-radius: 7px;
  border: 1px solid #35423f;
  background: linear-gradient(105deg,#1d2c29,#1e2529 62%);
  transition: border-color .15s;
}

.channel.b {
  --ch: var(--lav);
  border-color: #3c3947;
  background: linear-gradient(105deg,#272533,#1f232a 62%);
}

.channel:hover {
  border-color: var(--ch);
}

.channel-id {
  font: 700 19px var(--mono);
  color: var(--ch);
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb,var(--ch) 40%,transparent);
  border-radius: 4px;
  background: color-mix(in srgb,var(--ch) 9%,transparent);
  width: 36px;
  height: 38px;
  flex: none;
}

.channel-description {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.channel-name {
  font: 700 16px/1.2 var(--display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-mode {
  color: var(--muted);
  font: 12px/1.5 var(--mono);
}

.channel .ic {
  width: 15px;
  height: 15px;
  color: #adb9bd;
  margin-left: auto;
}

.sample-button {
  width: 100%;
  min-height: 38px;
  background: transparent;
  border-color: #354047;
  font: 700 14px/1.4 var(--display);
}

.sample-button .ic,.input-note .ic {
  width: 15px;
  height: 15px;
}

.input-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--faint);
  margin-top: 16px;
}

.trace {
  display: flex;
  flex-direction: column;
}

.trace-head,.metric-heading {
  justify-content: space-between;
  gap: 12px;
}

.switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #303941;
  background: #0e1317;
  border-radius: 6px;
  gap: 3px;
}

.switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 3px;
  font: 700 12px/1.35 var(--mono);
  padding: 4px 12px;
}

.switch button[aria-pressed=true] {
  background: #303c40;
  color: #c8faea;
  box-shadow: inset 0 0 0 1px #42514e;
}

.switch button:hover {
  color: white;
}

.scope-meta {
  margin: 12px 0 7px;
  justify-content: space-between;
  gap: 10px;
  min-height: 20px;
}

.legend {
  gap: 20px;
  flex-wrap: wrap;
  min-width: 0;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font: 12px var(--mono);
  color: #bdc9cd;
  max-width: 23ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.legend i,.table-channel {
  display: inline-block;
  width: 17px;
  height: 3px;
  background: var(--mint);
  border-radius: 4px;
  margin-right: 7px;
  vertical-align: middle;
}

.legend span:nth-child(2) i,.table-channel.ch-b {
  background: var(--lav);
}

.legend i.ch-b {
  background: var(--lav);
}

.axis-info {
  white-space: nowrap;
}

.plot {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 177px;
  border: 1px solid #2c383d;
  border-radius: 5px;
  background: #0f171b;
}

#chart {
  width: 100%;
  height: 100%;
  min-height: 177px;
  position: absolute;
  inset: 0;
  overflow: visible;
  touch-action: pan-y;
}

#chart:focus-visible {
  outline-offset: 0;
}

#chart text {
  font: 11px var(--mono);
  fill: #9aa9af;
}

#chart .grid-line {
  stroke: #2b393d;
  stroke-width: 1;
}

#chart .minor {
  stroke: #202c30;
}

.path-a,.path-b {
  stroke: var(--mint);
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.path-b {
  stroke: var(--lav);
  stroke-width: 1.9;
}

.inspect-line {
  stroke: #f0f7f4;
  stroke-dasharray: 3 4;
}

.point-a {
  fill: var(--mint);
}

.point-b {
  fill: var(--lav);
}

.plot-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font: 12px/1.5 var(--mono);
  margin-top: 8px;
  color: var(--faint);
}

#chart-inspect {
  text-align: right;
}

.plot-empty {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 5px;
  padding: 12px;
}

.plot-empty .ic {
  color: var(--muted);
  margin-bottom: 5px;
}

.plot-empty p {
  font-size: 14px;
  color: var(--muted);
}

.comparison {
  margin: 16px 0 32px;
}

.metric-heading {
  margin-bottom: 17px;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

th,td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  overflow-wrap: anywhere;
}

tbody tr:last-child>* {
  border-bottom: 0;
}

thead {
  background: #1c242a;
}

thead th {
  font: 700 12px/1.5 var(--mono);
  color: #c0cdd0;
}

tbody th {
  font-weight: 400;
}

.metric-name,.metric-dir {
  display: inline-block;
}

.metric-dir {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin-left: 8px;
}

td {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.unit {
  font-size: .83em;
  color: var(--faint);
}

.delta.good {
  color: var(--mint);
}

.delta.bad {
  color: #f5b49f;
}

.no-data {
  color: #8e9ba3;
}

footer {
  border-top: 1px solid #2b3339;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 24px 31px;
  font-size: 12px;
}

footer div {
  white-space: nowrap;
}

footer strong {
  color: #bec9cf;
}

footer p {
  max-width: 76ch;
}

footer button {
  margin-left: auto;
  white-space: nowrap;
  color: #b8c3c8;
  background: none;
  border: 0;
  font: inherit;
  padding: 6px;
}

.footer-dot {
  padding: 0 7px;
  color: #68787d;
}

dialog {
  color: var(--text);
  padding: clamp(18px,3vw,32px);
  width: min(510px,calc(100% - 26px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid #46564f;
  border-radius: 12px;
  background: linear-gradient(150deg,#1c2928,#171e23 37%);
  box-shadow: 0 25px 100px #0009;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: #030608c9;
  backdrop-filter: blur(4px);
}

html:has(dialog[open]) {
  overflow: hidden;
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.close {
  width: 32px;
  height: 32px;
  padding: 6px;
  background: transparent;
}

.close .ic {
  width: 16px;
}

dialog h2 {
  font-size: 29px;
}

.dialog-intro {
  margin: 9px 0 22px;
  font-size: 15px;
  color: var(--muted);
}

label,legend {
  font: 700 14px var(--display);
  display: block;
  margin: 0 0 8px;
}

label span {
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 400;
}

input,textarea {
  width: 100%;
  min-width: 0;
  color: #edf5f2;
  background: #0e1418;
  border: 1px solid #435055;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  line-height: 1.5;
  font-family: var(--mono);
  font-size: 14px;
  max-height: 40dvh;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 18px 0;
}

legend {
  padding: 0;
}

.edit-switch {
  display: flex;
}

.edit-switch button {
  flex: 1;
  min-height: 34px;
  font: 700 14px var(--display);
}

.hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.summary-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.error {
  margin-top: 15px;
  color: #ffc5ac;
  font-size: 14px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button.primary {
  background: var(--mint);
  color: #13362b;
  border-color: var(--mint);
}

.button.primary:hover {
  background: #a1f8de;
}

#share-status:not(:empty) {
  margin-top: 14px;
}

.guide-list dt {
  color: var(--mint);
  font: 700 16px var(--display);
  margin: 18px 0 5px;
}

.guide-list dd {
  color: #c3ced3;
  font-size: 14px;
  line-height: 1.65;
}

[hidden] {
  display: none!important;
}

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

.noscript {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #35252b;
  color: white;
  padding: 1rem;
  text-align: center;
}

@media(min-width:1600px) {
  .hero-stage {
    min-height: 260px;
  }
}

@media(max-width:1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .inputs,.trace,.comparison {
    padding: 18px;
  }
  .bench-grid {
    grid-template-columns: minmax(250px,.85fr) minmax(0,1.55fr);
    gap: 12px;
  }
  .hero-stage {
    min-height: 225px;
  }
  .scope-art {
    height: 100%;
    padding: 6px 8px 0 0;
  }
  .art-stage {
    min-height: 210px;
  }
  .plot-foot {
    font-size: 11px;
  }
  .channel {
    padding: 10px;
  }
  .hero-copy {
    padding: 26px 0 12px 32px;
  }
  .legend {
    gap: 10px;
  }
  .axis-info {
    font-size: 11px;
  }
}

@media(max-width:780px) {
  .mast-inner {
    gap: 30px;
  }
  .bench-grid {
    grid-template-columns: minmax(210px,.78fr) minmax(0,1.45fr);
  }
  .inputs,.trace,.comparison {
    padding: 16px;
  }
  .channel-id {
    width: 30px;
    height: 33px;
  }
  .channel {
    gap: 9px;
  }
  .panel-sub {
    font-size: 13px;
  }
  h3 {
    font-size: 18px;
  }
  .trace-head {
    gap: 6px;
  }
  .hero-copy p {
    font-size: 15px;
  }
  .hero-stage {
    grid-template-columns: 1.04fr 1fr;
  }
  .hero-copy {
    padding-left: 26px;
  }
  .hero-actions {
    padding-top: 8px;
    padding-bottom: 23px;
  }
  .channel-mode {
    font-size: 11px;
  }
  .axis-info {
    display: none;
  }
  .metric-dir {
    display: block;
    margin-left: 0;
  }
  .hero-copy .overline {
    font-size: 11px;
  }
}

@media(max-width:665px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .mast-inner {
    min-height: 56px;
    gap: 16px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 29px;
    height: 29px;
    margin-right: 8px;
  }
  nav {
    margin-left: auto;
    gap: 0;
  }
  nav .nav-current,.engine-status {
    display: none;
  }
  nav button {
    font-size: 13px;
  }
  nav button .ic {
    width: 15px;
    height: 15px;
  }
  .hero {
    margin-top: 14px;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    text-align: center;
    max-width: 100%;
    padding: 21px 14px 0;
  }
  .hero-copy .overline {
    justify-content: center;
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(46px,10vw,60px);
    margin: 6px 0 7px;
  }
  .hero-copy p {
    margin: auto;
    font-size: 14px;
    max-width: 39ch;
    line-height: 1.45;
  }
  .art-stage {
    width: 100%;
    min-height: 0;
    height: clamp(88px,26vw,142px);
    margin-top: 2px;
  }
  .scope-art {
    height: 100%;
    padding: 0;
  }
  .hero-actions {
    padding: 3px 18px 17px;
    gap: 8px;
    flex-direction: column;
  }
  .partner {
    min-height: 56px;
    width: min(100%,330px);
    min-width: 0;
    padding: 8px 12px;
    font-size: 14px;
    gap: 10px;
  }
  .partner .ic {
    width: 20px;
    height: 20px;
  }
  .bolt {
    width: 5px;
    height: 5px;
  }
  .bolt:after {
    width: 2px;
    top: 1px;
  }
  .b1,.b2 {
    top: 9px;
  }
  .b3,.b4 {
    bottom: 9px;
  }
  .b1,.b3 {
    left: 9px;
  }
  .b2,.b4 {
    right: 9px;
  }
  .bench-heading {
    margin: 21px 0 12px;
    gap: 8px;
  }
  .bench-title {
    gap: 8px;
  }
  .bench-title h2 {
    font-size: 23px;
  }
  .rail-mark {
    height: 21px;
    width: 4px;
  }
  .session-state {
    display: none;
  }
  .button.small {
    padding: 7px 9px;
    font-size: 13px;
    min-height: 34px;
  }
  .bench-grid {
    display: flex;
    flex-direction: column;
  }
  .inputs,.trace,.comparison {
    padding: 16px;
  }
  .inputs {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 8px;
  }
  .inputs .panel-sub {
    grid-column: 1/-1;
  }
  .inputs .panel-title {
    grid-column: 1/-1;
  }
  .inputs #channels {
    grid-column: 1/-1;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    margin: 12px 0;
  }
  .sample-button {
    width: auto;
    padding: 6px 10px;
    min-height: 34px;
    justify-self: start;
    font-size: 12px;
  }
  .input-note {
    font-size: 11px;
    margin: 0;
    align-self: center;
    gap: 5px;
  }
  .channel {
    padding: 9px 8px;
    gap: 8px;
  }
  .channel-id {
    font-size: 16px;
    width: 27px;
    height: 30px;
  }
  .channel-name {
    font-size: 14px;
  }
  .channel-mode {
    font-size: 10px;
  }
  .channel .ic {
    width: 12px;
    height: 12px;
  }
  .plot {
    min-height: 215px;
  }
  .axis-info {
    display: block;
  }
  .comparison {
    margin-top: 12px;
  }
  .metric-heading {
    margin-bottom: 12px;
  }
  .quiet {
    font-size: 11px;
  }
  th,td {
    font-size: 12px;
    padding: 10px 5px;
  }
  thead th {
    font-size: 11px;
  }
  .table-channel {
    width: 10px;
    margin-right: 4px;
  }
  .metric-dir {
    display: none;
  }
  .plot-foot {
    font-size: 10px;
  }
  footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  footer p {
    order: 3;
    flex-basis: 100%;
  }
}

@media(max-width:360px) {
  .hero-copy {
    padding-top: 18px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .hero .art-stage {
    height: 102px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .heading-prefix {
    display: none;
  }
  .bench-title h2 {
    text-transform: capitalize;
  }
  .hero-actions {
    padding-inline: 12px;
  }
  .bench-title h2 {
    font-size: 20px;
  }
  .button.small {
    font-size: 12px;
  }
  .inputs,.trace,.comparison {
    padding: 13px;
  }
  .inputs #channels {
    grid-template-columns: 1fr;
  }
  .inputs {
    grid-template-columns: 1fr;
  }
  .input-note {
    margin-top: 9px;
  }
  .axis-info {
    display: none;
  }
  .dialog-actions .button {
    justify-content: center;
    flex: 1;
  }
  .dialog-actions {
    gap: 6px;
  }
  .quiet {
    font-size: 10px;
  }
  .channel-mode {
    font-size: 11px;
  }
}

@media(max-height:530px) and (min-width:666px) {
  .hero {
    margin-top: 12px;
  }
  .hero-stage,.art-stage {
    min-height: 174px;
  }
  .hero-copy {
    padding-top: 12px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-actions {
    padding: 4px 20px 16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

