/* ADOR.IS Interactive Engineering Labs */

html {
  overflow-x: clip;
}

body {
  min-width: 0;
}

.labs-hero {
  min-height: 920px;
  grid-template-columns: minmax(430px, .84fr) minmax(600px, 1.16fr);
  background:
    radial-gradient(circle at 78% 46%, rgba(22, 103, 255, .2), transparent 36%),
    radial-gradient(circle at 60% 25%, rgba(82, 216, 255, .07), transparent 28%),
    #07111f;
}

.labs-hero .hero-copy {
  align-self: center;
}

.labs-hero h1 {
  max-width: 800px;
  font-size: clamp(58px, 5.75vw, 92px);
}

.labs-hero-visual {
  min-height: 620px;
  isolation: isolate;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .29);
}

.labs-hero-visual:before,
.lab-canvas-shell:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(82, 216, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 216, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(20, 80, 173, .26), transparent 47%),
    #050e1c;
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.labs-hero-visual canvas,
.lab-canvas-shell canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
}

.labs-hero-visual:after {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 10, 21, .18), transparent 43%),
    linear-gradient(180deg, transparent 60%, rgba(3, 10, 21, .55));
}

.labs-hero-visual figcaption,
.labs-hero-visual .visual-stat {
  z-index: 3;
}

.canvas-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .72;
}

.canvas-fallback:before,
.canvas-fallback:after {
  content: "";
  width: 58%;
  height: 58%;
  position: absolute;
  border: 1px solid rgba(82, 216, 255, .15);
  border-radius: 50%;
}

.canvas-fallback:after {
  width: 33%;
  height: 33%;
  border-color: rgba(82, 216, 255, .27);
}

.canvas-fallback i {
  width: 42px;
  height: 42px;
  position: absolute;
  border: 1px solid rgba(82, 216, 255, .47);
  background: rgba(22, 103, 255, .15);
  box-shadow: 0 0 32px rgba(22, 103, 255, .2);
}

.canvas-fallback i:nth-child(1) { transform: translate(-190px, -92px); }
.canvas-fallback i:nth-child(2) { transform: translate(178px, -122px); }
.canvas-fallback i:nth-child(3) { transform: translate(215px, 94px); }
.canvas-fallback i:nth-child(4) { transform: translate(-170px, 132px); }
.canvas-fallback i:nth-child(5) { transform: translate(0, -4px) scale(1.7); border-color: var(--cyan); }
.canvas-fallback i:nth-child(6) { transform: translate(40px, 180px) scale(.65); }

.labs-ready .canvas-fallback {
  display: none;
}

.labs-hero .visual-stat {
  min-width: 158px;
}

.labs-intro {
  padding-bottom: 88px;
}

.lab-overview {
  padding: 118px clamp(24px, 7vw, 110px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(22, 103, 255, .13), transparent 31%),
    #07111f;
}

.lab-overview-head {
  margin-bottom: 65px;
  display: grid;
  grid-template-columns: .55fr 1.05fr .8fr;
  gap: 55px;
  align-items: end;
}

.lab-overview-head h2,
.runtime-strip h2,
.lab-workbench-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.lab-overview-head h2 em,
.runtime-strip h2 em {
  color: var(--cyan);
  font-style: normal;
}

.lab-overview-head > p:last-child {
  margin: 0;
  color: #b8c4d2;
  font-size: 17px;
  line-height: 1.72;
}

.lab-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.lab-overview-grid > a {
  min-width: 0;
  min-height: 520px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .018);
  transition: background .2s ease, transform .2s ease;
}

.lab-overview-grid > a:hover {
  background: rgba(22, 103, 255, .1);
  transform: translateY(-2px);
}

.lab-overview-grid > a > span {
  color: var(--cyan);
  font: 700 11px/1.4 "Courier New", monospace;
  letter-spacing: .09em;
}

.lab-overview-grid h3 {
  margin: 30px 0 14px;
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.lab-overview-grid p {
  color: #b7c3d1;
  font-size: 16px;
  line-height: 1.72;
}

.lab-overview-grid b {
  margin-top: auto;
  color: var(--cyan);
  font-size: 14px;
}

.lab-schematic {
  height: 184px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(82, 216, 255, .2);
  background:
    linear-gradient(rgba(82, 216, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 216, 255, .045) 1px, transparent 1px),
    #091728;
  background-size: 21px 21px;
}

.material-schematic {
  display: grid;
  place-items: center;
}

.material-schematic:before {
  content: "";
  width: 116px;
  height: 116px;
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 26%, #fff 0, #a8e8ff 7%, #1677ff 24%, #0b2f65 57%, #020711 77%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .38), 0 0 45px rgba(22, 103, 255, .22);
}

.material-schematic:after {
  content: "";
  width: 170px;
  height: 38px;
  position: absolute;
  top: 127px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 103, 255, .45), transparent 70%);
}

.material-schematic i {
  width: 4px;
  height: 4px;
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #fff;
}

.material-schematic i:nth-child(1) { transform: translate(-36px, -42px); }
.material-schematic i:nth-child(2) { transform: translate(-13px, -54px); opacity: .7; }
.material-schematic i:nth-child(3) { transform: translate(-52px, -17px); opacity: .45; }
.material-schematic i:nth-child(4) { transform: translate(25px, 34px); opacity: .25; }

.configurator-schematic {
  display: grid;
  place-items: center;
  perspective: 500px;
}

.configurator-schematic:after {
  content: "";
  width: 190px;
  height: 32px;
  position: absolute;
  top: 131px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 103, 255, .34), transparent 70%);
}

.configurator-schematic i {
  width: 92px;
  height: 49px;
  position: absolute;
  border: 1px solid rgba(82, 216, 255, .45);
  background: linear-gradient(135deg, rgba(82, 216, 255, .23), rgba(22, 103, 255, .07));
  transform: rotateX(62deg) rotateZ(35deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.configurator-schematic i:nth-child(1) { transform: translate(-45px, 34px) rotateX(62deg) rotateZ(35deg); }
.configurator-schematic i:nth-child(2) { transform: translate(-22px, 10px) rotateX(62deg) rotateZ(35deg); }
.configurator-schematic i:nth-child(3) { transform: translate(0, -14px) rotateX(62deg) rotateZ(35deg); border-color: var(--cyan); }
.configurator-schematic i:nth-child(4) { transform: translate(23px, -38px) rotateX(62deg) rotateZ(35deg); }
.configurator-schematic i:nth-child(5) { width: 48px; height: 28px; transform: translate(58px, -60px) rotateX(62deg) rotateZ(35deg); }

.flow-schematic i {
  width: 7px;
  height: 7px;
  position: absolute;
  left: 20%;
  top: 50%;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(82, 216, 255, .85), -55px 0 0 -2px rgba(82, 216, 255, .4);
}

.flow-schematic i:after {
  content: "";
  width: 160px;
  height: 42px;
  position: absolute;
  right: 3px;
  top: -20px;
  border-top: 1px solid rgba(82, 216, 255, .48);
  border-radius: 50%;
  transform: rotate(6deg);
}

.flow-schematic i:nth-child(1) { transform: translateY(-60px) scale(.8); }
.flow-schematic i:nth-child(2) { transform: translate(35px, -37px) scale(.55); }
.flow-schematic i:nth-child(3) { transform: translate(-15px, -8px) scale(1.1); }
.flow-schematic i:nth-child(4) { transform: translate(58px, 19px) scale(.7); }
.flow-schematic i:nth-child(5) { transform: translate(-26px, 47px) scale(.5); }
.flow-schematic i:nth-child(6) { transform: translate(44px, 68px) scale(.9); }

.network-schematic i {
  width: 18px;
  height: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(82, 216, 255, .55);
  border-radius: 50%;
  background: #0d2b4d;
  box-shadow: 0 0 20px rgba(22, 103, 255, .3);
}

.network-schematic i:after {
  content: "";
  width: 84px;
  height: 1px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(82, 216, 255, .55), transparent);
}

.network-schematic i:nth-child(1) { transform: translate(-9px, -9px); background: var(--blue); }
.network-schematic i:nth-child(1):after { transform: rotate(-145deg); }
.network-schematic i:nth-child(2) { transform: translate(-108px, -70px); }
.network-schematic i:nth-child(2):after { transform: rotate(24deg); }
.network-schematic i:nth-child(3) { transform: translate(95px, -64px); }
.network-schematic i:nth-child(3):after { transform: rotate(140deg); }
.network-schematic i:nth-child(4) { transform: translate(112px, 47px); }
.network-schematic i:nth-child(4):after { transform: rotate(192deg); }
.network-schematic i:nth-child(5) { transform: translate(-112px, 54px); }
.network-schematic i:nth-child(5):after { transform: rotate(-22deg); }
.network-schematic i:nth-child(6) { transform: translate(-10px, -76px); }
.network-schematic i:nth-child(6):after { transform: rotate(90deg); }
.network-schematic i:nth-child(7) { transform: translate(13px, 74px); }
.network-schematic i:nth-child(7):after { display: none; }

.runtime-strip {
  padding: 110px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 7vw;
  color: #fff;
  background:
    radial-gradient(circle at 16% 45%, rgba(22, 103, 255, .16), transparent 34%),
    #0b182a;
}

.runtime-strip > div > p:last-child {
  max-width: 620px;
  margin: 28px 0 0;
  color: #b8c4d2;
  font-size: 17px;
  line-height: 1.72;
}

.runtime-strip dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.runtime-strip dl > div {
  min-width: 0;
  min-height: 135px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.runtime-strip dt {
  color: #8ea0b6;
  font: 700 10px/1.4 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.runtime-strip dd {
  margin: 16px 0 0;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.lab-workbench {
  padding: 120px clamp(24px, 5.6vw, 92px);
}

.lab-workbench-heading {
  margin-bottom: 65px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 7vw;
  align-items: end;
}

.lab-workbench-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.lab-workbench-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.lab-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lab-tabs button {
  min-height: 76px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #405069;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e9edf1;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.lab-tabs button span {
  color: var(--blue);
  font: 700 11px/1 "Courier New", monospace;
}

.lab-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--blue);
}

.lab-tabs button[aria-selected="true"] span {
  color: #d9f5ff;
}

.labs-noscript {
  margin: 22px 0 0;
  padding: 16px 18px;
  color: #2b3d57;
  background: #dce5ef;
  border: 1px solid #bccbdb;
}

.lab-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 26px 80px rgba(16, 31, 52, .07);
}

.labs-ready .lab-panel[hidden] {
  display: none;
}

.lab-panel-head {
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.lab-panel-head span {
  color: var(--blue);
  font: 700 11px/1.4 "Courier New", monospace;
  letter-spacing: .08em;
}

.lab-panel-head h3 {
  margin: 13px 0 0;
  font-size: clamp(31px, 3.5vw, 49px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.lab-panel-head > p {
  margin: 0;
  color: #44546a;
  font-size: 17px;
  line-height: 1.72;
}

.lab-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr);
  min-height: 710px;
}

.lab-canvas-shell {
  min-width: 0;
  min-height: 710px;
  margin: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #050e1c;
  border-right: 1px solid var(--line);
}

.lab-canvas-shell:after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 68%, rgba(3, 10, 21, .58));
}

.lab-canvas-shell figcaption {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: #aebdce;
  font: 10px/1.4 "Courier New", monospace;
  letter-spacing: .1em;
}

.lab-canvas-shell figcaption b {
  color: var(--cyan);
}

.lab-control-panel {
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #f8fafb;
}

.lab-control-panel fieldset {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 17px;
  border: 0;
}

.lab-control-panel legend {
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 11px;
  color: #53657d;
  border-bottom: 1px solid var(--line);
  font: 700 11px/1.35 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lab-control-panel label {
  min-width: 0;
  display: grid;
  gap: 9px;
  color: #23334a;
  font-size: 15px;
  font-weight: 700;
}

.lab-control-panel label > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.lab-control-panel label output {
  color: var(--blue);
  font: 700 13px/1.3 "Courier New", monospace;
}

.lab-control-panel select {
  min-height: 48px;
  padding: 0 14px;
  color: #13233a;
  border: 1px solid #bdc8d5;
  border-radius: 0;
  background: #fff;
  font-size: 16px;
}

.lab-control-panel input[type="color"] {
  width: 100%;
  min-height: 48px;
  padding: 4px;
  border: 1px solid #bdc8d5;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.lab-control-panel input[type="range"] {
  width: 100%;
  min-height: 28px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.lab-control-panel .check-control {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid #c9d2dc;
  background: #fff;
  cursor: pointer;
}

.check-control input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.check-control span {
  display: block !important;
}

.lab-results {
  margin-top: auto;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 8%, rgba(82, 216, 255, .13), transparent 33%),
    #09172a;
  border: 1px solid rgba(82, 216, 255, .18);
}

.lab-results > p {
  margin: 0 0 9px;
  color: #97a9bd;
  font: 700 10px/1.35 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lab-primary-result {
  display: block;
  color: #fff;
  font-size: clamp(27px, 2.6vw, 39px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.lab-status {
  margin-top: 9px;
  display: block;
  color: var(--cyan);
  font-size: 14px;
  line-height: 1.45;
}

.lab-results dl {
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.lab-results dl > div {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lab-results dt {
  color: #9eacbd;
  font-size: 13px;
}

.lab-results dd {
  margin: 0;
  color: #fff;
  font: 700 13px/1.4 "Courier New", monospace;
  text-align: right;
}

.lab-actions {
  display: flex;
  gap: 10px;
}

.telemetry-node-summary {
  padding: 20px;
  border: 1px solid #c9d2dc;
  background: #fff;
}

.telemetry-node-summary > b {
  color: #53657d;
  font: 700 11px/1.35 "Courier New", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.telemetry-node-summary ol {
  max-height: 152px;
  margin: 16px 0 0;
  padding: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: #dce3eb;
}

.telemetry-node-summary li {
  min-width: 0;
  min-height: 43px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f7f9;
  font-size: 12px;
  line-height: 1.35;
}

.telemetry-node-summary li span {
  overflow: hidden;
  color: #33445b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telemetry-node-summary li strong {
  margin-top: 3px;
  color: #075de5;
  font: 700 10px/1.3 "Courier New", monospace;
}

.telemetry-node-summary li.is-alert strong {
  color: #9a5500;
}

.lab-actions button {
  min-height: 46px;
  padding: 11px 16px;
  color: #14243b;
  border: 1px solid #aebdcd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.lab-actions button:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.lab-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.lab-note-grid > div {
  min-height: 190px;
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.lab-note-grid > div:last-child {
  border-right: 0;
}

.lab-note-grid b {
  color: var(--blue);
  font: 700 11px/1.4 "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lab-note-grid p {
  margin: 19px 0 0;
  color: #405069;
  font-size: 15px;
  line-height: 1.7;
}

.source-line {
  margin: 0;
  padding: 22px 32px;
  color: #495a70;
  border-top: 1px solid var(--line);
  background: #eef2f5;
  font-size: 14px;
  line-height: 1.75;
}

.source-line a {
  margin-left: 18px;
  color: #075de5;
  font-weight: 700;
  white-space: nowrap;
}

.labs-method .method-grid {
  grid-template-columns: repeat(4, 1fr);
}

.labs-principles,
.labs-related {
  scroll-margin-top: 20px;
}

.labs-related .compute-related-grid {
  grid-template-columns: repeat(4, 1fr);
}

.labs-contact {
  background: #f3f5f7;
}

@media (max-width: 1320px) {
  .labs-hero {
    min-height: 880px;
    grid-template-columns: minmax(390px, .85fr) minmax(500px, 1.15fr);
    gap: 30px 38px;
  }

  .labs-hero-visual {
    min-height: 540px;
  }

  .lab-overview-head,
  .runtime-strip,
  .lab-workbench-heading {
    gap: 45px;
  }

  .lab-overview-grid h3 {
    font-size: 23px;
  }

  .lab-overview-grid > a {
    min-height: 500px;
    padding: 23px;
  }

  .lab-schematic {
    height: 158px;
  }

  .lab-stage-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
  }

  .lab-canvas-shell,
  .lab-stage-grid {
    min-height: 680px;
  }
}

@media (max-width: 1080px) {
  .labs-hero {
    min-height: auto;
    padding-top: 150px;
    grid-template-columns: 1fr;
  }

  .labs-hero .hero-copy {
    max-width: 820px;
  }

  .labs-hero-visual {
    min-height: 610px;
  }

  .lab-overview-head,
  .runtime-strip,
  .lab-workbench-heading,
  .lab-panel-head {
    grid-template-columns: 1fr;
  }

  .lab-overview-head > p:last-child,
  .runtime-strip > div > p:last-child,
  .lab-workbench-heading > p,
  .lab-panel-head > p {
    max-width: 760px;
  }

  .lab-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-overview-grid > a {
    min-height: 470px;
  }

  .lab-schematic {
    height: 190px;
  }

  .runtime-strip {
    gap: 55px;
  }

  .lab-stage-grid {
    grid-template-columns: 1fr;
  }

  .lab-canvas-shell {
    min-height: 650px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lab-control-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .lab-results,
  .lab-actions {
    margin-top: 0;
  }

  .lab-results {
    align-self: stretch;
  }

  .lab-actions {
    grid-column: 1 / -1;
  }

  .labs-related .compute-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .labs-hero {
    padding: 132px 20px 30px;
  }

  .labs-hero h1 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .labs-hero .lead {
    font-size: 17px;
  }

  .labs-hero .hero-actions {
    align-items: stretch;
  }

  .labs-hero-visual {
    min-height: 480px;
  }

  .labs-hero .hero-foot {
    display: grid;
    gap: 10px;
  }

  .labs-intro,
  .lab-overview,
  .runtime-strip,
  .lab-workbench,
  .labs-method,
  .labs-principles,
  .labs-related,
  .labs-contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .lab-overview,
  .runtime-strip,
  .lab-workbench {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .lab-overview-grid,
  .runtime-strip dl,
  .lab-note-grid,
  .labs-method .method-grid,
  .labs-related .compute-related-grid {
    grid-template-columns: 1fr;
  }

  .lab-overview-grid > a {
    min-height: 470px;
  }

  .runtime-strip dl > div {
    min-height: 96px;
  }

  .lab-tabs {
    margin-right: -20px;
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(174px, 1fr));
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .lab-tabs button {
    min-height: 70px;
    font-size: 15px;
  }

  .lab-panel-head {
    padding: 27px 23px;
  }

  .lab-canvas-shell {
    min-height: 520px;
  }

  .lab-control-panel {
    padding: 24px;
    display: flex;
  }

  .lab-control-panel label,
  .lab-control-panel select {
    font-size: 16px;
  }

  .lab-note-grid > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-line {
    padding: 22px 24px;
  }

  .source-line a {
    margin: 8px 0 0;
    display: block;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .labs-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .labs-hero h1 {
    font-size: clamp(49px, 14vw, 62px);
  }

  .labs-hero .hero-actions {
    display: grid;
    gap: 18px;
  }

  .labs-hero .hero-actions a:first-child {
    width: 100%;
  }

  .labs-hero-visual {
    min-height: 390px;
  }

  .labs-hero .visual-stat {
    min-width: 122px;
  }

  .labs-hero .visual-stat.right {
    right: 18px;
  }

  .labs-hero .visual-stat.left {
    left: 18px;
  }

  .labs-intro,
  .lab-overview,
  .runtime-strip,
  .lab-workbench,
  .labs-method,
  .labs-principles,
  .labs-related,
  .labs-contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .lab-overview-head h2,
  .runtime-strip h2,
  .lab-workbench-heading h2 {
    font-size: clamp(40px, 12vw, 55px);
  }

  .lab-overview-grid > a {
    min-height: 440px;
    padding: 22px;
  }

  .lab-schematic {
    height: 172px;
  }

  .lab-tabs {
    margin-right: -16px;
  }

  .lab-canvas-shell {
    min-height: 390px;
  }

  .lab-canvas-shell figcaption {
    left: 16px;
    right: 16px;
    bottom: 15px;
    font-size: 8px;
  }

  .lab-control-panel {
    padding: 20px;
  }

  .lab-results {
    padding: 20px;
  }

  .lab-results dl > div {
    min-height: 48px;
  }

  .lab-note-grid > div {
    padding: 25px 23px;
  }

  .lab-actions {
    display: grid;
  }

  .telemetry-node-summary ol {
    grid-template-columns: 1fr;
  }

  .lab-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lab-overview-grid > a,
  .compute-related-grid a {
    transition: none;
  }
}
