/* A compact, collapsible guide floats over the workspace. */
.tour-refresh .staged-tour-card {
  position: fixed;
  inset: 76px 20px auto auto;
  z-index: 1050;
  width: min(26rem, calc(100vw - 32px));
  max-height: calc(100dvh - 96px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 16px 20px;
  border-color: #d8e3e7;
  border-radius: 14px;
  box-shadow: 0 14px 42px #173f6b26;
  background: linear-gradient(115deg, #f0f7f5, #fff 65%);
}

.tour-refresh .staged-tour-card-topline { flex-wrap: wrap; flex-shrink: 0; }
.tour-refresh .staged-tour-guide-heading {
  color: #173f6b;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.1rem;
}
.tour-refresh .staged-tour-badge {
  margin-right: auto;
  color: #526579;
  background: transparent;
  border: 0;
}
.tour-refresh .staged-tour-guide-details:not([hidden]) {
  display: grid;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 24px;
  align-items: center;
}
.tour-refresh .staged-tour-current {
  grid-row: auto;
  min-width: 0;
  border: 0;
  margin: 0;
  padding-top: 12px;
}
.tour-refresh .staged-tour-current h3 { font-size: 1.2rem; line-height: 1.4; }
.tour-refresh .staged-tour-step-count { color: #42655f; }
.tour-refresh .staged-tour-guide-text { margin-top: 4px; max-width: 52ch; }
.tour-refresh .staged-tour-audio { min-width: 0; margin-top: 8px; }
.tour-refresh .staged-tour-audio-controls { margin-top: 6px; }
.tour-refresh .staged-tour-navigation { justify-content: flex-end; margin-top: 0; }
.tour-refresh .staged-tour-transcript { max-width: 38ch; }
.tour-refresh .staged-tour-final-cta { grid-column: 1 / -1; }
.tour-refresh .staged-demo-header .container-xl { min-height: 52px; }
.tour-refresh .staged-demo-header-actions { gap: 12px; }
.tour-refresh .staged-demo-disclosure { font-size: .8rem; }
.tour-refresh .workspace-brand-logo { background: white; padding: 8px; border-radius: 12px; }
.tour-refresh .staged-tour-control:focus-visible { outline: 3px solid #0f766e; outline-offset: 3px; }

@media (max-width: 720px) {
  .tour-refresh .staged-tour-card { inset: 84px 16px auto auto; margin: 0; padding: 14px; max-height: calc(100dvh - 100px); }
  .tour-refresh .staged-tour-guide-details:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tour-refresh .staged-tour-current { grid-row: auto; }
  .tour-refresh .staged-tour-audio { margin-top: 0; }
  .tour-refresh .staged-tour-navigation { justify-content: flex-start; }
  .tour-refresh .staged-demo-header .container-xl { min-height: 74px; padding-left: 76px; }
  .tour-refresh .staged-demo-header-actions { gap: 4px; }
  .tour-refresh .staged-demo-disclosure { line-height: 1.4; }
}

/* Keep all guide controls within the compact overlay. */
.tour-refresh .staged-tour-audio { border-top: 0; padding-top: 0; }
.tour-refresh .staged-tour-guide-details:not([hidden]) { gap: 6px 20px; }
.tour-refresh .staged-tour-card { padding-top: 12px; padding-bottom: 12px; }
.tour-refresh .staged-tour-primary { background: #173f6b; border-color: #173f6b; }
@media (max-width: 720px) {
  .tour-refresh .workspace-shell__drawer-button { position: absolute; top: 10px; left: 16px; width: 52px; min-width: 52px; height: 44px; padding: 8px; }
  .tour-refresh .staged-tour-badge { display: none; }
  .tour-refresh .staged-tour-card-topline { flex-wrap: nowrap; justify-content: space-between; }
  .tour-refresh .staged-tour-guide-heading { font-size: 1rem; }
  .tour-refresh .staged-tour-card-topline { gap: 6px; }
  .tour-refresh .staged-tour-current { padding-top: 6px; }
  .tour-refresh .staged-tour-current h3 { font-size: 1rem; }
  .tour-refresh .staged-tour-guide-text { font-size: .8rem; }
  .tour-refresh .staged-demo-header-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
}

/* Evidence starts with useful teaching choices, not repeated explanations. */
.tour-refresh .tour-evidence-class-summary .card-body { padding: 14px 20px; }
.tour-refresh .tour-evidence-class-summary .evidence-kicker,
.tour-refresh .tour-evidence-class-summary .evidence-disclosure { display: none; }
.tour-refresh .tour-evidence-class-summary h2 { font-size: 1.05rem; margin-bottom: 4px; }
.tour-refresh .tour-evidence-class-summary p { margin-bottom: 0 !important; font-size: .85rem; }
.tour-refresh .tour-evidence-next-moves .card-body { padding: 18px 20px; }
.tour-refresh .tour-evidence-next-moves ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; }
.tour-refresh .tour-evidence-next-moves li { margin: 0 !important; padding-left: 12px; border-left: 2px solid #b6d6d0; }
.tour-refresh .tour-evidence-next-moves li p { font-size: .85rem; line-height: 1.5; margin-top: 8px; }
.tour-refresh .tour-evidence-next-moves li span { font-size: .8rem; }
.tour-refresh .tour-practice-choices .card { border: 1px solid #d8e0ea !important; box-shadow: none !important; }
@media (max-width: 900px) {
  .tour-refresh .tour-evidence-next-moves ol { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

.tour-refresh .staged-tour-card-topline { justify-content: space-between; }
.tour-refresh .staged-tour-transcript { max-width: 100%; }
