.protocol-test {
  --test-green: #3f5a3b;
  --test-deep-green: #30472d;
  --test-pistachio: #e5ebd9;
  --test-frame: #754a37;
}
.protocol-test .stage > .card {
  background: rgba(248, 249, 244, .93);
  isolation: isolate;
}
.protocol-test .stage > .card::before,
.protocol-test .stage > .card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.protocol-test .stage > .card::before {
  inset: 0;
  background: url("/assets/protocol-book-background.jpg") top right / min(100%, 30rem) auto no-repeat;
  mask-image: linear-gradient(to bottom, #000 0 3.25rem, transparent 9rem);
}
.protocol-test .stage > .card::after {
  inset: .45rem;
  opacity: .11;
  filter: brightness(1.24) saturate(.8);
  background: url("/assets/phenix-logo.png") center / contain no-repeat;
}
.protocol-test .btn {
  background: var(--test-green) !important;
  border-color: var(--test-green) !important;
  color: #fffdf4 !important;
}
.protocol-test .btn:hover { background: var(--test-deep-green) !important }
.protocol-test .btn.ghost {
  background: var(--test-pistachio) !important;
  border-color: var(--test-green) !important;
  color: var(--test-deep-green) !important;
}
.protocol-test .btn.ghost:hover { background: #d6e0c9 !important }
.protocol-test .seg input:checked + label {
  background: var(--test-green) !important;
  color: #fffdf4 !important;
}
.protocol-test .lang {
  background: transparent;
  border: 2px solid var(--test-frame);
}
.protocol-test .lang button {
  position: relative;
  min-height: 44px;
  min-width: 44px;
  padding: .28rem .6rem;
  border-left-color: var(--test-frame);
  color: #382419;
  text-shadow: 0 0 5px #fffbf4, 0 0 9px #fffbf4;
}
.protocol-test .lang button:hover,
.protocol-test .lang button[aria-pressed="true"] {
  background: transparent !important;
  color: #382419 !important;
}
.protocol-test .lang button[aria-pressed="true"] { font-weight: 750 }
.protocol-test .lang button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: .35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.2rem;
  height: 2px;
  border-radius: 3px;
  background: var(--test-frame);
}
.protocol-test .steps { gap: .32rem }
.protocol-test .steps .step {
  display: grid;
  align-items: center;
  min-width: 0;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.protocol-test .steps .step::before {
  content: "";
  height: 3px;
  border-radius: 4px;
  background: #d5b8a8;
}
.protocol-test .steps .step.done::before { background: #a87760 }
.protocol-test .steps .step[aria-current="step"]::before {
  height: 5px;
  background: #753e2c;
}
.protocol-test .steps .step:focus-visible {
  outline: 2px solid var(--test-frame);
  outline-offset: 2px;
}
