/* Try CoachBoost guided intro (try-tour.js). Demo pages only.
   Spotlight: the page is dimmed except the target, which keeps full brightness inside a two-tone ring:
   ink #13213B (16:1 against white panels) under gold #FCD34D (11:1 against the ink, 3.1:1 against the dimmed
   light page, 13:1 against the dimmed dark page). Gold is never used as text on white. */
.tsw.tsw-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 1004; }
.tt-shade { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1000; pointer-events: none; }
.tt-block { position: fixed; z-index: 1001; background: transparent; }
.tt-ring { position: fixed; z-index: 1002; pointer-events: none; display: none; border-radius: 12px;
  box-shadow: 0 0 0 2px #13213B, 0 0 0 6px #FCD34D, 0 0 22px 8px rgba(252, 211, 77, .45); }
.tt-ring2 { border-radius: 10px; box-shadow: 0 0 0 2px #13213B, 0 0 0 5px #FCD34D; }
@media (prefers-reduced-motion: no-preference) {
  .tt-ring:not(.tt-ring2) { animation: ttglow 1.8s ease-in-out 2; }
  @keyframes ttglow { 50% { box-shadow: 0 0 0 2px #13213B, 0 0 0 7px #FCD34D, 0 0 30px 12px rgba(252, 211, 77, .55); } }
}
.tt-card { position: fixed; z-index: 1005; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow: auto; box-sizing: border-box;
  background: var(--surface, #fff); color: var(--ink, #13213B); border: 1px solid var(--line, #D6DDE8); border-radius: 14px;
  padding: 18px 18px 16px; box-shadow: 0 18px 50px rgba(10, 16, 28, .35); display: grid; gap: 10px;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; }
.tt-card.tt-center { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: min(480px, calc(100vw - 32px)); padding: 24px; }
.tt-card.tt-busy { opacity: .85; }
.tt-card h2 { margin: 0; font-size: 1.3rem; line-height: 1.2; text-wrap: balance; }
.tt-card h2:focus { outline: none; }
.tt-card p { margin: 0; line-height: 1.5; }
.tt-note { font-size: .92rem; color: var(--muted, #56627A); }
.tt-help summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--muted, #56627A); }
.tt-help p { margin-top: 6px; font-size: .92rem; color: var(--muted, #56627A); }
.tt-prog { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 750; letter-spacing: .02em; }
.tt-step { background: #FCD34D; color: #13213B; padding: 3px 9px; border-radius: 999px; }
.tt-dots { display: inline-flex; gap: 5px; }
.tt-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line, #D6DDE8); }
.tt-dots i.on { background: var(--ink, #13213B); }
.tt-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.tt-btn { font: inherit; font-size: .95rem; font-weight: 650; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line, #D6DDE8);
  background: var(--surface, #fff); color: var(--ink, #13213B); cursor: pointer; text-decoration: none; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.tt-btn.tt-pri { background: var(--team, #2563EB); border-color: var(--team, #2563EB); color: #fff; }
.tt-btn:focus-visible, .tt-help summary:focus-visible { outline: 3px solid #FCD34D; outline-offset: 2px; box-shadow: 0 0 0 5px #13213B; }
/* phone: a bottom sheet, so the highlighted part of the page stays above it */
.tt-card.tt-sheet { left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  top: auto; transform: none; width: auto; max-height: 52vh; border-radius: 16px; padding: 16px; }
.tt-card.tt-sheet.tt-center { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); max-height: 70vh; }
.tt-card.tt-sheet .tt-acts { justify-content: stretch; }
.tt-card.tt-sheet .tt-btn { flex: 1 1 auto; justify-content: center; }
