/* The walk-through (static/tour.js): the highlight, the step card, the Tour button and the offer. On a phone the card sits at the
   bottom of the screen and the highlighted box above it. */
.g3t-spot { position: fixed; z-index: 1001; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 3px var(--accent), 0 0 0 200vmax rgba(20, 19, 17, 0.45); transition: left 0.18s ease, top 0.18s ease, width 0.18s ease, height 0.18s ease; }
.g3t-spot.g3t-dim { inset: 0; border-radius: 0; box-shadow: none; background: rgba(20, 19, 17, 0.45); }
.g3t-card, .g3t-prompt { position: fixed; z-index: 1002; width: min(340px, calc(100vw - 16px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 12px 16px 14px; font: 400 13.5px/1.5 var(--sans); }
.g3t-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.g3t-count { color: var(--muted); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.g3t-x { min-height: 28px; min-width: 28px; padding: 0; border: none; background: none; color: var(--muted); font-size: 20px; line-height: 1; }
.g3t-x:hover { color: var(--ink); }
.g3t-title { display: block; font-size: 15px; }
.g3t-card p, .g3t-prompt p { margin: 6px 0 0; }
.g3t-eg { padding: 8px 10px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink-2); }
.g3t-eg-label { display: block; color: var(--accent-ink); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.g3t-row { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; }
.g3t-row .link-btn { margin-right: auto; }
.g3t-fab { position: fixed; z-index: 900; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-pop); }
.g3t-fab span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; }
.g3t-fab:hover { border-color: var(--accent); color: var(--accent-ink); }
.g3t-prompt { right: 16px; bottom: 64px; }
.g3t-prompt strong { font-size: 14px; }
.g3t-on .g3t-prompt { display: none; }
body:has(.sidebar.open) .g3t-prompt, body:has(.sidebar.open) .g3t-fab { display: none; }  /* a phone's open sidebar: the offer and button would sit over it */
@media (max-width: 640px) {
  .g3t-card.g3t-dock { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 55vh; max-height: 55dvh; overflow-y: auto; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .g3t-card .small-btn, .g3t-x { min-height: 40px; }
  .g3t-fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .g3t-prompt { left: 8px; right: 8px; bottom: calc(60px + env(safe-area-inset-bottom)); width: auto; }
}
@media (prefers-reduced-motion: reduce) { .g3t-spot { transition: none; } }
@media print { .g3t-ui { display: none !important; } }
