#hwTutorialSpotlight {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1045;
}

.hwTutorialOutline {
  fill: none;
  stroke: #f0b938;
  stroke-width: 2.5px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

#hwTutorialDialog {
  position: fixed;
  z-index: 1065;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border-color: rgba(15, 108, 133, 0.45);
  background: rgba(252, 249, 242, 0.98);
  color: #18272e;
}

#hwTutorialDialog .card-header {
  background: rgba(15, 108, 133, 0.12);
  border-bottom-color: rgba(15, 108, 133, 0.24);
}

#hwTutorialDialog .card-footer {
  background: rgba(15, 108, 133, 0.08);
  border-top-color: rgba(15, 108, 133, 0.2);
}

.hwTutorialKicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d5c75;
}

.hwTutorialText p:last-child {
  margin-bottom: 0;
}

.hwTutorialStatus {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0d5c75;
}

.hwTutorialStatus.is-complete {
  color: #1f6b35;
}

.hwTutorialContents {
  padding: 0.35rem 0.25rem;
}

.hwTutorialChapter + .hwTutorialChapter {
  margin-top: 0.65rem;
}

.hwTutorialChapterTitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0d5c75;
  padding: 0.15rem 0.35rem;
}

.hwTutorialStepBtn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: #18272e;
  text-align: left;
  padding: 0.24rem 0.45rem;
  font-size: 0.9rem;
}

.hwTutorialStepBtn:hover,
.hwTutorialStepBtn:focus-visible {
  background: rgba(15, 108, 133, 0.14);
}

.hwTutorialStepBtn.active {
  background: rgba(15, 108, 133, 0.24);
  font-weight: 700;
}

.hwTutorialScoreTable {
  width: 100%;
  margin-top: 0.6rem;
  font-size: 0.88rem;
}

.hwTutorialScoreTable caption {
  caption-side: top;
  padding: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0d5c75;
}

.hwTutorialScoreTable th,
.hwTutorialScoreTable td {
  padding: 0.18rem 0.3rem;
  border-bottom: 1px solid rgba(15, 108, 133, 0.16);
}

.hwTutorialScoreTable td:last-child,
.hwTutorialScoreTable th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hwTutorialScoreTotal th,
.hwTutorialScoreTotal td {
  border-top: 2px solid rgba(15, 108, 133, 0.38);
  border-bottom: 0;
  font-weight: 700;
}

.hwTutorialForfeitedRow th,
.hwTutorialForfeitedRow td {
  color: #7a2e2e;
  font-size: 0.83rem;
}

.hwTutorialStrike {
  opacity: 0.7;
  margin-right: 0.25rem;
}

body.hwTutorialOpen .hawaii-popover {
  z-index: 1080;
}
