/* ============================================================
   סיור מודרך — הדגשה, בועה, גיליון תחתון, שבב "הסיור הושהה", מרכז הסיור, רצועת מצב תרגול
   טוקנים בלבד (style.css): צבע · ריווח · רדיוס · גודל טקסט ב-rem (A / A+ / A++ מגדילים יחד).
   המיקום מגיע מ-tour.js כמשתנים (--tx --ty --ax --sx --sy --sw --sh --hx --hy --pf --tour-nav-h --tour-top-h) דרך CSSOM.
   תנועה רק ב-.tour-anim ורק כשאין prefers-reduced-motion ואין data-motion="off" (תפריט הנגישות).
   ============================================================ */
.tour-layer { position: relative; z-index: 150; }

/* ---- ההדגשה: טבעת + "צל ענק" שמחשיך את השאר. pointer-events: none — היעד נשאר לחיץ ---- */
/* v4.6: מיקום ב-transform (שכבה משלה, בלי layout בדף) · --ring = טיל במידע, ליים ב"עשו את זה" ·
   ::after = טבעת ה-hotspot (ליים) שפועמת ב-transform/opacity בלבד; --hx/--hy = קנה מידה שמרחיב אותה ~8px לכל צד */
.tour-spot {
  --ring: var(--focus-ring);
  position: fixed; z-index: 150; pointer-events: none; left: 0; top: 0;
  transform: translate3d(var(--sx, 0), var(--sy, 0), 0); width: var(--sw, 0); height: var(--sh, 0);
  border-radius: var(--r2); contain: layout style;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--ring);
}
.tour-spot.do { --ring: var(--accent-ui); }
.tour-spot.dim { box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--ring), 0 0 0 100vmax var(--tour-dim); }
.tour-spot::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--accent-ui); opacity: 0; pointer-events: none; }
.tour-spot2 { --ring: var(--accent-ui); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-ui); }
.tour-spot[hidden] { display: none; }

/* ---- הבועה ---- */
.tour-card {
  position: fixed; z-index: 160; left: var(--tx, 16px); top: var(--ty, 16px);
  width: min(22rem, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto;
  padding: var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r3);
  background: var(--surface); color: var(--fg); box-shadow: var(--float-shadow);
  font-size: var(--t-md);
}
.tour-card[hidden] { display: none; }
[dir="ltr"] .tour-card { direction: ltr; }
.tour-card[data-mode="center"] { width: min(26rem, calc(100vw - 32px)); }
/* חץ אל היעד (מעל / מתחת / בצד) — מיקום לאורך הבועה ב---ax */
.tour-card[data-mode="pop"]::before {
  content: ""; position: absolute; width: 14px; height: 14px; background: var(--surface);
  border: 1px solid var(--line-strong); transform: rotate(45deg);
}
.tour-card[data-arrow="up"]::before { top: -8px; left: calc(var(--ax, 24px) - 7px); border-right: 0; border-bottom: 0; }
.tour-card[data-arrow="down"]::before { bottom: -8px; left: calc(var(--ax, 24px) - 7px); border-left: 0; border-top: 0; }
.tour-card[data-arrow="side-l"]::before { left: -8px; top: calc(var(--ax, 24px) - 7px); border-top: 0; border-right: 0; }
.tour-card[data-arrow="side-r"]::before { right: -8px; top: calc(var(--ax, 24px) - 7px); border-bottom: 0; border-left: 0; }

/* טלפון: גיליון ברוחב מלא (שוליים 16px), מעל הסרגל התחתון; יעד בחצי התחתון → הגיליון למעלה, מתחת לכותרת */
.tour-card[data-mode="sheet"] {
  left: var(--s4); right: var(--s4); width: auto; top: auto; max-height: 50svh;
  bottom: calc(var(--tour-nav-h, 0px) + var(--s2) + env(safe-area-inset-bottom, 0px));
}
.tour-card[data-mode="sheet"][data-edge="top"] { top: calc(var(--tour-top-h, 0px) + var(--s2)); bottom: auto; }
:root[data-text="3"] .tour-card[data-mode="sheet"] { max-height: 58svh; }
.tour-card[data-mode="sheet"] { padding: var(--s3) var(--s4); }
.tour-card[data-mode="sheet"] .tour-acts { margin-top: var(--s3); }
.tour-card[data-mode="sheet"] .tour-acts > * { flex: 1 1 auto; }
/* בזמן גיליון: הדף מקבל מקום גלילה בגובה הגיליון (tour.js קובע --tour-pad) */
@media (max-width: 768px) { body.tour-sheet #app { padding-bottom: calc(96px + var(--tour-pad, 0px) + env(safe-area-inset-bottom, 0px)); } }

.tour-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin: calc(var(--s1) * -1) 0 var(--s2); }
.tour-pos { color: var(--muted); font-size: var(--t-sm); font-weight: 600; }
.tour-x { flex: 0 0 auto; }
.tour-bar { height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; margin-bottom: var(--s3); box-shadow: inset 0 0 0 1px var(--line); }
/* v4.6: המילוי = scaleX(--pf) (0–1, נקבע ב-CSSOM) — GPU, בלי layout; מתחיל מהצד של תחילת הקריאה (ימין ב-RTL) */
.tour-bar span { display: block; height: 100%; width: 100%; transform: scaleX(var(--pf, 0)); transform-origin: 100% 50%; background: var(--accent-ui); border-radius: inherit; }
[dir="ltr"] .tour-bar span { transform-origin: 0 50%; }
.wel-bar { margin: calc(var(--s1) * -1) 0 var(--s3); }
.tour-title { font-size: var(--t-lg); font-weight: 700; margin: 0 0 var(--s2); color: var(--head); line-height: 1.3; }
.tour-title:focus { outline: none; }
.tour-title:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--r1); }
.tour-body { margin: 0; line-height: 1.55; }
.tour-hint { display: block; margin-top: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--r-amber-soft); color: var(--fg); font-size: var(--t-sm); }
.tour-checks { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); }
.tour-checks li { display: flex; align-items: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s3); border-radius: var(--r2); background: var(--panel); }
.tour-checks li svg.ic { color: var(--muted); flex: 0 0 auto; }
.tour-checks li.ok svg.ic { color: var(--positive); }
.tour-checks li.ok { box-shadow: inset 0 0 0 1.5px var(--positive); }
.tour-dot { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--muted); }
.tour-acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.tour-acts > * { flex: 1 1 auto; }
.tour-acts button { min-height: var(--tap); }
.tour-cele { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto var(--s3); border-radius: 50%; background: var(--accent-ui); color: var(--on-accent-ui); }
.tour-cele svg.ic { width: 32px; height: 32px; }

/* ---- v4.6 · מושן גרפיקס: סצנת SVG קטנה לכל צעד (tour-motion.js). הבסיס = מסגרת הסיום הסטטית ----
   גובה קבוע (אין קפיצת פריסה) · aria-hidden · צבעים מטוקנים בלבד · תנועה רק בבלוק no-preference למטה */
.tm { position: relative; height: 84px; margin: 0 0 var(--s3); border-radius: var(--r2); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; color: var(--fg); }
.tm svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tm * { transform-box: fill-box; transform-origin: 50% 50%; }
.tm .s { fill: var(--surface); } .tm .sk { fill: var(--sunken); } .tm .ln { fill: var(--line-strong); }
.tm .li { fill: var(--accent-ui); } .tm .lis { fill: var(--accent-soft); } .tm .te { fill: var(--teal); } .tm .ti { fill: var(--teal-ink); }
.tm .co { fill: var(--r-coral); } .tm .cos { fill: var(--r-coral-soft); } .tm .am { fill: var(--r-amber); } .tm .sky { fill: var(--r-sky); }
.tm .tm-dkf { fill: var(--on-accent-ui); } .tm .tm-thr { fill: var(--fg); }
.tm .tm-o { fill: none; stroke: var(--line-strong); stroke-width: 2; } .tm .tm-o2 { stroke: var(--line-strong); stroke-width: 1.5; }
.tm .tm-new { stroke: var(--accent-ui); stroke-width: 2; }
.tm .tm-dash { stroke: var(--r-amber); stroke-width: 1.5; stroke-dasharray: 5 4; }
.tm .tm-sel { fill: none; stroke: var(--accent-ui); stroke-width: 3; }
.tm .tmi { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; color: var(--fg); }
.tm .tmi-dk { color: var(--on-accent-ui); } .tm .tmi-co { color: var(--r-coral); } .tm .tmi-mute { color: var(--muted); opacity: .6; }
.tm .tm-chk { fill: none; stroke: var(--on-accent-ui); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tm .tm-chk-lime { stroke: var(--accent-ui); }
.tm .tm-dk { fill: none; stroke: var(--on-accent-ui); stroke-width: 2; stroke-linecap: round; }
.tm .tm-glyph { fill: none; stroke: var(--muted); stroke-width: 1.75; stroke-linecap: round; }
.tm .tm-glyph-dk { fill: none; stroke: var(--on-accent-ui); stroke-width: 1.75; stroke-linecap: round; }
.tm .tm-trail { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tm .tm-ring { fill: none; stroke: var(--accent-ui); stroke-width: 2; opacity: 0; }
.tm .tm-ring-co { stroke: var(--r-coral); }
.tm .tm-wave { fill: none; stroke: var(--accent-ui); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.tm .tm-fig { fill: none; stroke: var(--teal-ink); stroke-width: 2.5; stroke-linecap: round; }
.tm .tm-flame { fill: var(--accent-ui); transform-origin: 50% 100%; } .tm .tm-flame-in { fill: var(--r-amber); transform-origin: 50% 100%; }
.tm .tm-bst { opacity: 0; }
.tm .a-dim { opacity: .22; } .tm .a-out, .tm .a-outx, .tm .a-outs, .tm .a-up { opacity: 0; }
.tm text { font-family: var(--font); font-weight: 700; fill: var(--fg); direction: ltr; unicode-bidi: plaintext; }
.tm .tmn { font-size: 20px; } .tm .tmn-l { font-size: 30px; } .tm .tmn-m { font-size: 20px; fill: var(--muted); } .tm .tmn-s { font-size: 11px; } .tm .tmn-xs { font-size: 9px; fill: var(--muted); }
.tm .tmn-dk { font-size: 10px; fill: var(--on-accent-ui); }
.tm .ox-r { transform-origin: 100% 50%; } .tm .ox-l { transform-origin: 0 50%; } .tm .a-grow-y { transform-origin: 50% 100%; }
.tm .a-swing { transform-origin: 50% 10%; }
.tour-card[data-mode="sheet"] .tm { height: 64px; }
dialog.tour-dlg .tm { height: 96px; }
@media (max-height: 560px) { .tm { display: none; } }

/* ---- שבב "הסיור הושהה · להמשיך" / "להמשיך מפרק N?" — ליד כפתור הנגישות ---- */
.tour-chip {
  position: fixed; z-index: 90; inset-inline-end: calc(var(--s4) + 60px); bottom: calc(var(--s5) + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; max-width: min(30rem, calc(100vw - 100px));
  padding: var(--s2) var(--s2) var(--s2) var(--s3); border-radius: var(--r3); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--fg); box-shadow: var(--float-shadow); font-size: var(--t-sm);
}
.tour-chip[hidden] { display: none; }
.tour-chip-t { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; }
.tour-chip-t svg.ic { color: var(--x-icon); }
@media (max-width: 768px) {
  .tour-chip { inset-inline: var(--s4); max-width: none; bottom: calc(80px + 60px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- דיאלוגים של הסיור (פתיחה / סיום / "דשבורד מלא") + מרכז הסיור ---- */
dialog.tour-dlg, dialog.tour-hub { width: min(34rem, calc(100vw - 32px)); }
.tour-hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); max-height: min(52svh, 30rem); overflow: auto; }
.tour-ch { display: flex; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s2) var(--s3); border-radius: var(--r2); background: var(--panel); }
.tour-ch-ic { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--x-soft); color: var(--x-chip); }
.tour-ch.done .tour-ch-ic { background: var(--r-pos-soft); color: var(--r-pos); }
.tour-ch.open { box-shadow: inset 0 0 0 1.5px var(--accent-ui); }
.tour-ch-t { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tour-ch .small { flex: 0 0 auto; }
dialog.tour-hub .tour-bar { margin-top: calc(var(--s2) * -1); }

/* ---- "על מי מתרגלים?" (פרק 0.2) ---- */
fieldset.tour-mode { border: 0; margin: 0 0 var(--s2); padding: 0; display: grid; gap: var(--s2); }
.tour-opt { display: flex; align-items: flex-start; gap: var(--s3); min-height: var(--tap); padding: var(--s3); border-radius: var(--r2); background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; font-weight: 400; }
.tour-opt input { margin-top: 3px; width: 22px; height: 22px; accent-color: var(--accent-ui); flex: 0 0 auto; }
.tour-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent-ui); }
.tour-opt:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ---- שורת הסיור בכרטיס "צעדים ראשונים" ---- */
.tour-onb svg.ic { color: var(--x-icon); margin-inline-end: var(--s1); vertical-align: -3px; }

/* ---- רצועת מצב התרגול (בראש המסך, כמו .demo-strip) ---- */
.sbx-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s2) var(--s3);
  padding: var(--s2) var(--s3); margin: 0 0 var(--s2); border-radius: 0 0 var(--r2) var(--r2);
  background: var(--r-amber-soft); border-bottom: 2px solid var(--caution); color: var(--fg); font-size: var(--t-sm); text-align: center;
}
.sbx-strip svg.ic { color: var(--r-amber); flex: 0 0 auto; }
.sbx-strip.sbx-pt { background: var(--r-teal-soft); border-bottom-color: var(--teal-ink); }
.sbx-strip.sbx-pt svg.ic { color: var(--r-teal); }
@media (max-width: 768px) { .sbx-strip { margin: 0 calc(var(--s4) * -1) 0; border-radius: 0; } }

/* ---- תנועה (רק כשמותר) · ההדגשה "זזה" רק במעבר צעד (.moving), לא בגלילה — אחרת היא נגררת אחרי היעד ----
   v4.6: ההדגשה גולשת ומתעצבת מחדש בין יעדים (transform + גודל, 420ms) · טבעת hotspot ליים פועמת (::after,
   transform/opacity) · הבועה נכנסת בקפיץ (WAAPI ב-tour.js) והתוכן שלה עולה במדורג · פס ההתקדמות מתמלא בהחלקה ·
   הסצנות (.tm-go) — כל אנימציה ≤ 600ms, לולאה ≤ 3s ולכל היותר 2–3 מחזורים (< 5s), בלי הבהוב. */
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .tour-anim .tour-spot.moving { transition: transform .42s cubic-bezier(.2, .9, .3, 1.06), width .42s cubic-bezier(.2, .9, .3, 1.06), height .42s cubic-bezier(.2, .9, .3, 1.06); }
  :root:not([data-motion="off"]) .tour-anim .tour-spot.pulse::after { animation: tm-hot 1.4s ease-out .25s 3 forwards; }
  :root:not([data-motion="off"]) .tour-anim .tour-spot.ping::after { animation: tm-hot .6s ease-out .3s 1 forwards; }
  :root:not([data-motion="off"]) .tour-anim .tour-card.tm-enter > .tour-title { animation: tm-rise .36s cubic-bezier(.34, 1.56, .64, 1) .04s both; }
  :root:not([data-motion="off"]) .tour-anim .tour-card.tm-enter > .tour-body { animation: tm-rise .36s cubic-bezier(.34, 1.56, .64, 1) .09s both; }
  :root:not([data-motion="off"]) .tour-anim .tour-card.tm-enter > .tour-checks { animation: tm-rise .36s cubic-bezier(.34, 1.56, .64, 1) .13s both; }
  :root:not([data-motion="off"]) .tour-anim .tour-card.tm-enter > .tour-acts { animation: tm-rise .36s cubic-bezier(.34, 1.56, .64, 1) .16s both; }
  :root:not([data-motion="off"]) .tour-anim .tour-cele, :root:not([data-motion="off"]) .tour-anim.tour-dlg .tour-cele { animation: tour-cele .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  :root:not([data-motion="off"]) .sbx-strip { animation: tour-in .18s var(--ease) both; }
  :root:not([data-motion="off"]) .tour-bar span { transition: transform .45s var(--ease); }
  :root:not([data-motion="off"]) .tm-go .a-rise { animation: tm-rise .42s cubic-bezier(.34, 1.56, .64, 1) both; }
  :root:not([data-motion="off"]) .tm-go .a-pop { animation: tm-pop .46s cubic-bezier(.34, 1.56, .64, 1) both; }
  :root:not([data-motion="off"]) .tm-go .a-zoom { animation: tm-zoom .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  :root:not([data-motion="off"]) .tm-go .a-drop { animation: tm-drop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  :root:not([data-motion="off"]) .tm-go .a-slidein { animation: tm-slidein .56s cubic-bezier(.34, 1.4, .64, 1) both; }
  :root:not([data-motion="off"]) .tm-go .a-shift { animation: tm-shift .5s var(--ease) both; }
  :root:not([data-motion="off"]) .tm-go .a-grow-x { animation: tm-grow-x .6s var(--ease) both; }
  :root:not([data-motion="off"]) .tm-go .a-grow-y { animation: tm-grow-y .56s cubic-bezier(.34, 1.4, .64, 1) both; }
  :root:not([data-motion="off"]) .tm-go .a-draw { animation: tm-draw .5s var(--ease) both; }
  :root:not([data-motion="off"]) .tm-go .a-out { animation: tm-out .4s var(--ease) .35s both; }
  :root:not([data-motion="off"]) .tm-go .a-outx { animation: tm-outx .42s ease-in .3s both; }
  :root:not([data-motion="off"]) .tm-go .a-outs { animation: tm-outs .4s ease-in .3s both; }
  :root:not([data-motion="off"]) .tm-go .a-up { animation: tm-up .45s ease-in .45s both; }
  :root:not([data-motion="off"]) .tm-go .a-dim { animation: tm-dim .5s var(--ease) both; }
  :root:not([data-motion="off"]) .tm-go .a-pulse { animation: tm-pulse 1.6s ease-out 2 forwards; }
  :root:not([data-motion="off"]) .tm-go .a-play { animation: tm-play 2.4s linear .7s 2 both; }
  :root:not([data-motion="off"]) .tm-go .a-flicker { animation: tm-flicker 1.2s ease-in-out .3s 3; }
  :root:not([data-motion="off"]) .tm-go .a-swing { animation: tm-swing 1.1s ease-in-out .2s 2; }
  :root:not([data-motion="off"]) .tm-go .d1 { animation-delay: 70ms; }
  :root:not([data-motion="off"]) .tm-go .d2 { animation-delay: 140ms; }
  :root:not([data-motion="off"]) .tm-go .d3 { animation-delay: 210ms; }
  :root:not([data-motion="off"]) .tm-go .d4 { animation-delay: 280ms; }
  :root:not([data-motion="off"]) .tm-go .d5 { animation-delay: 350ms; }
  :root:not([data-motion="off"]) .tm-go .d6 { animation-delay: 420ms; }
  :root:not([data-motion="off"]) .tm-go .d7 { animation-delay: 490ms; }
  :root:not([data-motion="off"]) .tm-go .d8 { animation-delay: 560ms; }
  :root:not([data-motion="off"]) .tm-go .d9 { animation-delay: 630ms; }
}
@keyframes tour-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tour-cele { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tm-hot { from { opacity: .95; transform: scale(1); } to { opacity: 0; transform: scale(var(--hx, 1.06), var(--hy, 1.2)); } }
@keyframes tm-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes tm-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes tm-zoom { from { opacity: 0; transform: scale(.35); } }
@keyframes tm-drop { from { opacity: 0; transform: translateY(-26px) rotate(-4deg); } }
@keyframes tm-slidein { from { opacity: 0; transform: translateX(-70px); } }
@keyframes tm-shift { from { transform: translateY(-24px); } }
@keyframes tm-grow-x { from { transform: scaleX(0); } }
@keyframes tm-grow-y { from { transform: scaleY(0); } }
@keyframes tm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tm-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.6); } }
@keyframes tm-outx { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-48px); } }
@keyframes tm-outs { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.85); } }
@keyframes tm-up { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px); } }
@keyframes tm-dim { from { opacity: 1; } to { opacity: .22; } }
@keyframes tm-pulse { from { opacity: .9; transform: scale(.85); } to { opacity: 0; transform: scale(1.35); } }
@keyframes tm-play { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tm-flicker { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94, 1.06); } }
@keyframes tm-swing { 0% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 80% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
/* מופחת: טבעת סטטית בעובי 3px, בלי פעימה ובלי מעבר; הסצנות = מסגרת הסיום (בלי .tm-go) */
@media (prefers-reduced-motion: reduce) { .tour-spot { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ring); } .tour-spot.dim { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ring), 0 0 0 100vmax var(--tour-dim); } }
:root[data-motion="off"] .tour-spot { transition: none; animation: none; }

/* ---- מצב צבעים מאולץ (Windows High Contrast) ---- */
@media (forced-colors: active) {
  .tour-spot { box-shadow: none; outline: 3px solid Highlight; }
  .tour-card, .tour-chip { border: 2px solid CanvasText; }
  .tour-bar span { background: Highlight; }
  .sbx-strip { border-bottom: 2px solid CanvasText; }
}
@media print { .tour-layer, .sbx-strip { display: none !important; } }
