@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  color-scheme: light dark;
  font-family: "DM Sans", sans-serif;
  color: #282c2a;
  background: #f5f4ef;
  font-synthesis: none;
  --orange: #d65c32;
  --muted: #70746d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #d65c32;
  outline-offset: 5px;
}
aside {
  width: 254px;
  position: fixed;
  inset: 0 auto 116px 0;
  border-right: 1px solid #dedfd7;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-family: Manrope, sans-serif;
  font-size: 35px;
  letter-spacing: -2px;
  font-weight: 800;
  text-decoration: none;
  color: #252a27;
  display: flex;
  align-items: center;
}
.brand-icon {
  color: var(--orange);
  font-size: 34px;
  margin-right: 12px;
  letter-spacing: -5px;
  padding-right: 5px;
}
.brand-dot {
  color: var(--orange);
}
.tagline {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 50px;
}
.nav-label,
.eyebrow,
header,
.edition,
.section-heading > span,
.song > label,
.listen > span {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.nav-label {
  color: #898b82;
  padding-left: 12px;
  margin-bottom: 15px;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  display: flex;
  align-items: center;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  padding: 15px 10px;
  gap: 11px;
}
nav strong {
  font-size: 13px;
}
nav small {
  display: block;
  font-size: 10px;
  color: #74786f;
  margin-top: 5px;
}
.nav-num {
  font-size: 11px;
  color: #92978d;
}
.nav-arrow {
  margin-left: auto;
  visibility: hidden;
}
nav button[aria-current="step"] {
  background: #eaeae1;
  border-color: #dcded2;
}
nav button[aria-current="step"] .nav-num,
nav button[aria-current="step"] .nav-arrow {
  color: var(--orange);
  visibility: visible;
}
.sidebar-note {
  margin-top: auto;
  padding: 35px 12px 22px;
}
.sidebar-note > span {
  display: block;
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 12px;
}
.sidebar-note strong {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.edition {
  font-size: 8px;
  line-height: 2;
  letter-spacing: 1px;
  color: #888c81;
  border-top: 1px solid #dedfd7;
  padding: 18px 12px 0;
}
main {
  max-width: 1450px;
  margin-left: 254px;
  padding: 0 48px 35px;
}
header {
  display: flex;
  justify-content: space-between;
  padding: 27px 0;
  border-bottom: 1px solid #dedfd7;
  color: #81857b;
  font-size: 9px;
}
.status {
  letter-spacing: 0.3px;
  font-weight: 400;
}
.status i {
  display: inline-block;
  background: #7e9571;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  margin-right: 6px;
}
.intro {
  padding: 32px 0 26px;
}
.eyebrow {
  color: #888c80;
  font-size: 9px;
}
.intro .eyebrow {
  color: var(--orange);
}
h1 {
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 45px;
  letter-spacing: -2px;
  margin: 8px 0 12px;
}
p {
  line-height: 1.65;
}
.intro p {
  font-size: 14px;
  color: #777b70;
  max-width: 650px;
  margin: 0;
}
.routing {
  container-type: inline-size;
  border: 1px solid #dcdfd4;
  border-radius: 9px;
  background: #fafaf6;
  padding: 22px 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}
.section-heading > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #989c90;
}
.signal {
  overflow-x: auto;
  padding: 15px 0 5px;
  scrollbar-color: #bac1af #f0f2e9;
}
.diagram-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 17px;
  color: #737b6b;
  font-size: 10px;
}
.diagram-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.diagram-key i {
  width: 19px;
  border-top: 2px solid #626b5d;
}
.diagram-key .key-ears {
  border-color: var(--orange);
}
.diagram-key .key-radio {
  border-color: var(--orange);
  border-top-style: dashed;
}
.equipment-diagram {
  display: block;
  width: 100%;
  min-width: 880px;
  height: auto;
}
.equipment-cable {
  fill: none;
  stroke: #626b5d;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.equipment-cable.ear-cable {
  stroke: var(--orange);
}
.cable-junction {
  fill: var(--orange);
  stroke: #fafaf6;
  stroke-width: 2;
}
.radio-link,
.radio-waves {
  fill: none;
  stroke: var(--orange);
  color: var(--orange);
  stroke-width: 1.6;
}
.radio-link {
  stroke-dasharray: 4 6;
}
.equipment-name {
  fill: #30392c;
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
}
.equipment-detail,
.cable-label {
  fill: #7c8473;
  font-size: 11px;
  text-anchor: middle;
}
.cable-label {
  paint-order: stroke;
  stroke: #fafaf6;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.ear-label {
  fill: #b6502e;
}
.diagram-zone {
  fill: #858d7a;
  font-size: 10px;
  letter-spacing: 1.7px;
}
.branch-note {
  fill: #526046;
  font-size: 13px;
  font-weight: 500;
}
.branch-detail {
  text-anchor: start;
}
.diagram-scroll-hint {
  font-size: 10px;
  color: #8a725c;
  margin: 12px 0 0;
}
@container (min-width: 880px) {
  .diagram-scroll-hint {
    display: none;
  }
}
.equipment-disclaimer {
  color: #858a7b;
  font-size: 9px;
  line-height: 1.6;
  margin: 7px 0 0;
}
.route-note {
  font-size: 10px;
  color: #858a7b;
  border-top: 1px dashed #dcdfd4;
  margin: 0;
  padding-top: 13px;
}
.workbench {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 18px;
  margin-top: 20px;
}
.console {
  background: #292f2c;
  color: #eee;
  border-radius: 9px;
  padding: 22px 24px 0;
  overflow: hidden;
}
.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.console .eyebrow {
  font-size: 8px;
  color: #a3aea1;
}
.console h2 {
  margin-top: 6px;
  font-size: 15px;
}
.reset {
  font-size: 10px;
  border: 1px solid #505950;
  background: transparent;
  color: #c5cdc1;
  border-radius: 5px;
  padding: 6px 10px;
}
.console > p {
  color: #a5b0a4;
  font-size: 10px;
  min-height: 33px;
  margin: 12px 0 15px;
}
.requests {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.requests button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  text-align: left;
  padding: 13px 15px;
  border: 1px solid #566153;
  border-radius: 6px;
  background: #323b34;
  color: #ebeee5;
}
.requests button strong {
  font-size: 12px;
  font-weight: 500;
}
.requests button span {
  font-size: 10px;
  color: #c0c9b9;
  grid-column: 1;
}
.requests button i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
}
.requests button[aria-pressed="true"] {
  border-color: #dfa17c;
  background: #41473b;
}
.local-controls {
  padding: 15px 0;
  border-top: 1px solid #566153;
}
.local-controls h3 {
  margin: 0;
  font-size: 12px;
}
.local-controls p {
  font-size: 11px;
  color: #c0c9b9;
}
.local-controls > small {
  color: #abb6a5;
  font-size: 10px;
}
.mixer-device {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px 10px;
  margin-top: 16px;
  border: 2px solid #63685f;
  border-radius: 15px;
  background: linear-gradient(120deg, #343733, #1c201d);
  box-shadow:
    inset 0 0 0 3px #242824,
    0 6px 12px #0004;
  color: #e0e7d9;
}
.mixer-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mixer-channel + .mixer-channel {
  border-left: 1px solid #52594f;
}
.input-jack {
  width: 23px;
  height: 23px;
  border: 4px solid #868c82;
  border-radius: 50%;
  background: #111611;
  box-shadow:
    0 0 0 3px #121712,
    inset 0 0 0 2px #373d34;
}
.mixer-channel small {
  font-size: 8px;
  color: #bdc6b6;
}
.mixer-channel label {
  font-size: 14px;
  font-weight: 600;
}
.mixer-channel output {
  font: 600 18px monospace;
  color: #f4ac80;
}
.fader-slot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.fader-slot > span {
  font: 10px/40px monospace;
  text-align: right;
  color: #a9b3a1;
}
.fader-slot input {
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: none;
  width: 44px;
  height: 180px;
  background: transparent;
  cursor: ns-resize;
  touch-action: none;
}
.fader-slot input::-webkit-slider-runnable-track {
  width: 8px;
  background: #101510;
  border: 1px solid #56604f;
  border-radius: 5px;
}
.fader-slot input::-webkit-slider-thumb {
  appearance: none;
  width: 38px;
  height: 24px;
  margin-left: -16px;
  border: 1px solid #92998b;
  border-radius: 4px;
  background: linear-gradient(#454b43 0 40%, #f1a373 40% 55%, #272d27 55%);
  box-shadow: 0 2px 5px #000b;
}
.fader-slot input::-moz-range-track {
  width: 8px;
  background: #101510;
  border: 1px solid #56604f;
}
.fader-slot input::-moz-range-thumb {
  width: 38px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(#454b43 0 40%, #f1a373 40% 55%, #272d27 55%);
}
.fader-slot input:focus-visible {
  outline: 2px solid #f1a373;
  outline-offset: 5px;
  border-radius: 4px;
}
.fader-slot input:hover {
  filter: brightness(1.2);
}
.song strong {
  font-size: 12px;
}
.music-credit a {
  color: #68785a;
  text-underline-offset: 2px;
}
.diagram-divider {
  stroke: #d2d9c8;
  stroke-dasharray: 4 6;
}
.stage-ground {
  fill: #f0f2e9;
}
.console-footer {
  line-height: 1.7;
}
.console-footer {
  border-top: 1px solid #41493e;
  padding: 12px 0;
  color: #b4c0ae;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.signal-dot {
  width: 5px;
  height: 5px;
  background: #7da573;
  border-radius: 50%;
}
.ear-panel {
  background: #eaece2;
  border: 1px solid #dce0d2;
  border-radius: 9px;
  padding: 24px;
}
.ear-panel h2 {
  margin-top: 8px;
}
.headphones {
  height: 90px;
  display: grid;
  place-items: center;
  font-size: 0;
}
.headphones:before {
  content: "Ω";
  font-family: Georgia, serif;
  font-size: 65px;
  line-height: 1;
  color: #728166;
  transform: rotate(180deg);
}
.ear-panel label {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.ear-panel output {
  font-family: monospace;
  color: #5f6c52;
}
.ear-panel input {
  width: 100%;
  accent-color: #738767;
  cursor: pointer;
}
.ear-panel input:disabled {
  opacity: 0.4;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #929b88;
}
.ear-panel p {
  font-size: 11px;
  color: #757e6c;
  margin-top: 22px;
}
.ear-badge {
  font-size: 8px;
  background: #dce2d2;
  color: #5d6e50;
  padding: 5px 8px;
  border-radius: 4px;
  display: inline-block;
}
.lesson {
  display: flex;
  gap: 17px;
  padding: 24px 0 19px;
}
.lesson-mark {
  color: var(--orange);
  font-size: 24px;
}
.lesson h2 {
  font-size: 14px;
  margin-top: 4px;
}
.lesson p {
  font-size: 12px;
  color: #747c6d;
  margin: 8px 0;
}
.challenge {
  font-size: 11px;
  color: #797b65;
  background: #edede3;
  padding: 11px 14px;
  border-radius: 5px;
}
.safety {
  font-size: 9px;
  line-height: 1.7;
  color: #929789;
  border-top: 1px solid #dfe1d6;
  padding-top: 15px;
}
.transport {
  position: sticky;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 105px;
  background: #fafbf6;
  border-top: 1px solid #d8dece;
  padding: 23px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.transport > #play {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 18px;
}
.song {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.song > label {
  font-size: 8px;
  color: #8a917f;
}
.song select {
  border: 1px solid #77816e;
  border-radius: 4px;
  padding: 6px;
  background: inherit;
  color: inherit;
  font-weight: 600;
  font-size: 12px;
  width: 100%;
  max-width: 360px;
}
.song > span {
  font-size: 9px;
  color: #9a9f91;
}
.playback {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 0 25px;
  font-family: monospace;
  font-size: 9px;
  color: #8d9683;
}
.progress {
  height: 3px;
  flex: 1;
  background: #e0e5d8;
}
.progress > div {
  height: 100%;
  background: #8d9d7f;
  width: 0;
}
.listen {
  display: flex;
  gap: 12px;
  align-items: center;
}
.listen > span {
  font-size: 8px;
  color: #929986;
}
.listen > div {
  display: flex;
  background: #edf0e7;
  border-radius: 6px;
  padding: 4px;
}
.listen button {
  border: 0;
  background: transparent;
  padding: 10px 13px;
  font-size: 10px;
  border-radius: 4px;
  color: #77816c;
}
.listen button[aria-pressed="true"] {
  background: #fff;
  color: #303a28;
  box-shadow: 0 1px 3px #26371915;
}
#audio-error:empty {
  display: none;
}
#audio-error {
  position: absolute;
  bottom: 85px;
  background: #fff0e9;
  color: #9a381b;
  padding: 10px;
  font-size: 12px;
}
button:hover {
  filter: brightness(0.94);
}
@media (min-width: 1500px) {
  main {
    margin-right: auto;
  }
  .intro {
    padding-top: 45px;
  }
  .signal {
    padding-top: 35px;
    padding-bottom: 30px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 215px;
    padding-inline: 15px;
  }
  main {
    margin-left: 215px;
    padding-inline: 25px;
  }
  .workbench {
    grid-template-columns: 1fr 210px;
  }
  .ear-panel {
    padding: 20px;
  }
  .section-heading > span {
    display: none;
  }
  .playback {
    padding: 0;
  }
  .listen {
    gap: 7px;
  }
  .listen > span {
    display: none;
  }
}
@media (max-width: 800px) {
  aside {
    position: static;
    width: auto;
    padding: 22px 20px 14px;
    border-right: 0;
    border-bottom: 1px solid #dedfd7;
  }
  .brand {
    font-size: 29px;
  }
  .tagline {
    margin: 5px 0 20px;
  }
  .nav-label,
  .sidebar-note,
  .edition {
    display: none;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
  nav button {
    padding: 10px 8px;
    gap: 5px;
  }
  nav strong {
    font-size: 10px;
  }
  nav small,
  .nav-arrow {
    display: none;
  }
  .nav-num {
    font-size: 9px;
  }
  main {
    margin-left: 0;
    padding: 0 20px 30px;
  }
  header {
    padding: 18px 0;
  }
  h1 {
    font-size: 38px;
  }
  .intro {
    padding: 24px 0;
  }
  .workbench {
    grid-template-columns: 1fr 220px;
  }
  .transport {
    padding: 15px 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .playback {
    display: none;
  }
  .listen {
    margin-left: auto;
  }
  .song > span {
    font-size: 8px;
  }
}
@media (max-width: 550px) {
  .workbench {
    grid-template-columns: 1fr;
  }
  .ear-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .ear-panel .eyebrow,
  .ear-panel h2 {
    grid-column: 1;
  }
  .headphones {
    grid-column: 2;
    grid-row: 1/4;
    height: 70px;
  }
  .ear-panel label,
  .ear-panel input,
  .range-labels,
  .ear-panel p,
  .ear-badge {
    grid-column: 1/-1;
  }
  .ear-panel p {
    margin-top: 15px;
  }
  .ear-badge {
    justify-self: start;
  }
  .routing {
    padding: 18px 12px;
  }
  .signal {
    padding: 15px 0;
  }
  .section-heading h2 {
    font-size: 13px;
  }
  .transport {
    gap: 10px;
  }
  .song select {
    font-size: 11px;
  }
  .listen {
    width: 100%;
    justify-content: center;
  }
  .listen > span {
    display: block;
  }
  .listen button {
    padding: 8px 15px;
  }
  .song > span {
    font-size: 8px;
  }
  nav button {
    flex-direction: column;
    align-items: flex-start;
  }
  h1 {
    font-size: 34px;
  }
  .intro p {
    font-size: 12px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #e4e8df;
    background: #181d1a;
    --orange: #ee956e;
    --muted: #adb8a6;
  }
  .brand {
    color: #e4e8df;
  }
  aside,
  header,
  .edition,
  .safety {
    border-color: #394236;
  }
  .nav-label,
  .eyebrow,
  header,
  .edition,
  .section-heading > span,
  .nav-num,
  nav small,
  .intro p,
  .diagram-key,
  .equipment-disclaimer,
  .route-note,
  .range-labels,
  .ear-panel p,
  .lesson p,
  .safety,
  .song > span,
  .song > label,
  .playback,
  .listen > span {
    color: #adb8a6;
  }
  .intro .eyebrow {
    color: var(--orange);
  }
  nav button[aria-current="step"],
  .ear-panel,
  .challenge {
    background: #283126;
    border-color: #44503d;
  }
  .routing,
  .transport {
    background: #222923;
    border-color: #394236;
  }
  .route-note {
    border-color: #44503d;
  }
  .signal {
    scrollbar-color: #65765a #2d352c;
  }
  .stage-ground {
    fill: #2d352c;
  }
  .diagram-divider {
    stroke: #52604b;
  }
  .equipment-name {
    fill: #e4e8df;
  }
  .equipment-detail,
  .cable-label,
  .diagram-zone {
    fill: #bac6b1;
  }
  .equipment-cable {
    stroke: #a7b79a;
  }
  .diagram-key .key-cable {
    border-color: #a7b79a;
  }
  .equipment-cable.ear-cable {
    stroke: var(--orange);
  }
  .cable-label,
  .cable-junction {
    stroke: #222923;
  }
  .ear-label {
    fill: var(--orange);
  }
  .branch-note {
    fill: #c4d3b8;
  }
  .diagram-scroll-hint {
    color: #d2b394;
  }
  .equipment image {
    filter: brightness(1.15) drop-shadow(0 1px 1px #a7b79a40);
  }
  .headphones:before,
  .ear-panel output,
  .challenge,
  .music-credit a {
    color: #c4d3b8;
  }
  .ear-panel input {
    accent-color: #a7bd93;
  }
  .ear-badge {
    background: #405138;
    color: #e1ecd8;
  }
  .progress,
  .listen > div {
    background: #394236;
  }
  .progress > div {
    background: #a7bd93;
  }
  .listen button {
    color: #bac6b1;
  }
  .listen button[aria-pressed="true"] {
    background: #526346;
    color: #f0f4eb;
    box-shadow: none;
  }
  .transport > #play {
    color: #241a13;
  }
  #audio-error {
    background: #402921;
    color: #ffc4ac;
  }
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  a:focus-visible,
  .signal:focus-visible {
    outline-color: var(--orange);
  }
}
