.tutorial-help-button {
  width: auto;
  min-width: 48px;
  padding: 0 9px;
  color: var(--chrome-primary);
  background: #eef4f1;
  border-color: #dce8e3;
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
}

.tutorial-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.tutorial-click-guard {
  position: fixed;
  inset: 0;
  pointer-events: auto;
}

.tutorial-spotlight {
  position: fixed;
  z-index: 1;
  background: transparent;
  border: 2px solid #76b6a1;
  border-radius: 0;
  box-shadow:
    0 0 0 9999px rgb(17 24 22 / 58%),
    0 0 0 5px rgb(118 182 161 / 22%);
  transition: inset 180ms ease, width 180ms ease, height 180ms ease;
}

.tutorial-popover {
  position: fixed;
  z-index: 2;
  width: min(350px, calc(100vw - 32px));
  padding: 20px;
  color: #28322f;
  background: #fff;
  border: 1px solid #dfe5e2;
  border-radius: 0;
  box-shadow: 0 22px 64px rgb(10 18 15 / 28%);
  pointer-events: auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.tutorial-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tutorial-kicker,
.tutorial-counter {
  color: #6f827b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.tutorial-counter {
  letter-spacing: 0.04em;
}

.tutorial-popover h2 {
  margin-top: 12px;
  font: 700 21px/1.3 Georgia, "Noto Serif SC", serif;
}

.tutorial-popover p {
  margin-top: 9px;
  color: #66706d;
  font-size: 12px;
  line-height: 1.75;
}

.tutorial-points {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 10px 11px 10px 25px;
  color: #596561;
  background: #f4f7f5;
  border: 1px solid #e5ebe8;
  border-radius: 0;
  font-size: 10px;
  line-height: 1.55;
}

.tutorial-points li::marker {
  color: #5d9884;
}
.tutorial-progress {
  display: grid;
  grid-template-columns: repeat(var(--tutorial-steps, 10), 1fr);
  gap: 5px;
  margin-top: 17px;
}

.tutorial-progress span {
  height: 3px;
  background: #e4e9e7;
  border-radius: 0;
}

.tutorial-progress span.is-active {
  background: #5d9884;
}

.tutorial-actions,
.tutorial-navigation {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tutorial-actions {
  justify-content: space-between;
  margin-top: 18px;
}

.tutorial-layer .button {
  border-radius: 0;
}

@media (max-width: 920px) {
  #open-tutorial {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  #open-tutorial {
    display: inline-flex !important;
    width: auto;
    min-width: 44px;
    height: 36px;
    padding: 0 7px;
  }


  .tutorial-popover {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    padding: 17px;
    max-height: min(62dvh, 560px);
  }

  .tutorial-popover h2 {
    margin-top: 8px;
    font-size: 18px;
  }

  .tutorial-popover p {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.65;
  }

  .tutorial-progress {
    margin-top: 12px;
  }

  .tutorial-actions {
    margin-top: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tutorial-spotlight {
    transition: none;
  }
}








