/* First-visit hint and the short tour (tour.js). Nothing here covers the page except the two boxes and a light ring. */
.tourRoot{position:fixed;inset:0;z-index:2000;pointer-events:none}
.tourRoot [hidden]{display:none!important}
.tourHint,.tourCard{position:fixed;box-sizing:border-box;pointer-events:auto;color:var(--ink);background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 36px #16253d40,0 1px 3px #16253d30;font:inherit}
.tourHint{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;width:min(344px,calc(100vw - 24px));padding:12px 14px;border-radius:14px}
.tourHintText{margin:0;flex:1 1 150px;font-size:.9375rem;line-height:1.4}
.tourHintActions{display:flex;gap:8px;flex:0 0 auto}
.tourCard{width:min(352px,calc(100vw - 24px));padding:16px 18px 14px;border-radius:14px}
.tourCard:focus{outline:none}
.tourCard:focus-visible{outline:2px solid var(--accent,#176ad1);outline-offset:2px}
.tourPosition{margin:0 0 4px;font-size:.75rem;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.tourTitle{margin:0 0 6px;font-size:1.0625rem;line-height:1.3;letter-spacing:-.01em}
.tourBody{margin:0 0 12px;font-size:.9375rem;line-height:1.55;color:var(--muted)}
.tourAction{display:block;margin:0 0 12px;width:100%}
.tourCardControls{display:flex;align-items:center;gap:8px}
.tourSpacer{flex:1}
.tourBtn{min-height:36px;padding:7px 13px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;font-size:.875rem;line-height:1.3;cursor:pointer}
.tourBtn:hover{background:color-mix(in srgb,var(--ink) 5%,var(--paper))}
.tourBtn:focus-visible{outline:2px solid var(--accent,#176ad1);outline-offset:2px}
.tourBtn.tourPrimary{color:#fff;background:#176ad1;border-color:#176ad1;font-weight:600}
.tourBtn.tourPrimary:hover{background:#125cb8}
.tourSkip{border-color:transparent;background:transparent;color:var(--muted)}
.tourLive{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tourRing{position:fixed;box-sizing:border-box;pointer-events:none;border:2px solid var(--accent,#176ad1);border-radius:12px;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent,#176ad1) 28%,transparent),0 0 0 100vmax #0b152624}
/* Phones: the hint is a strip and the caption card is a bottom sheet, both above the dock (tour.js sets `bottom`). */
.tourHint[data-mode="sheet"]{left:8px;right:8px;width:auto}
.tourCard[data-mode="sheet"]{left:8px;right:8px;top:auto;width:auto;max-height:60vh;overflow:auto;border-radius:18px;padding:14px 16px 12px}
@media (pointer:coarse){.tourBtn{min-height:44px;padding:9px 15px}}
@media (prefers-reduced-motion:no-preference){
  .tourRing{transition:left .25s ease,top .25s ease,width .25s ease,height .25s ease}
  .tourHint,.tourCard{animation:tourIn .2s ease-out}
}
@keyframes tourIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tourRoot,.tourRoot *{animation:none!important;transition:none!important}}
