/* Экскурсия по приложению с доктором (app/tour.js). Подключён после v6-файлов.
   Затемнение – тень рамки вокруг подсвеченного элемента; сам экран под ней закрыт невидимым слоем (нажатия не проходят).
   Пузырь – белая карточка v6: радиус 22, тень, Onest. Фото доктора – app/people/doctor.webp, нет файла – синий круг со стетоскопом. */
.tour-root{position:fixed;inset:0;z-index:9000;font-family:var(--sans,'Onest',system-ui,-apple-system,sans-serif);-webkit-tap-highlight-color:transparent;overscroll-behavior:contain}
.tour-block{position:absolute;inset:0;touch-action:none}
.tour-hole{position:fixed;left:0;top:0;box-sizing:border-box;border:2px solid rgba(255,255,255,.92);border-radius:22px;box-shadow:0 0 0 9999px rgba(6,19,49,.55);pointer-events:none;transition:left .28s ease,top .28s ease,width .28s ease,height .28s ease,border-radius .28s ease}
.tour-hole.none{border-color:transparent}
.tour-b{position:fixed;box-sizing:border-box;background:#fff;color:#061331;border-radius:22px;padding:16px 16px 14px;box-shadow:0 2px 4px rgba(6,19,49,.06),0 18px 44px rgba(6,19,49,.28);display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 24px);overflow:auto}
.tour-b[hidden]{display:none}
.tour-b.in{animation:tour-in .22s ease both}
@keyframes tour-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tour-row{display:flex;gap:12px;align-items:flex-start}
.tour-ava{flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(160deg,#3F7BFF,#0050E0);box-shadow:0 0 0 2px #fff,0 4px 12px rgba(0,98,254,.3)}
.tour-ava img{width:100%;height:100%;object-fit:cover;display:block}
.tour-t{margin:0;font:500 16px/1.4 var(--sans,'Onest',system-ui,sans-serif);letter-spacing:-.005em;color:#061331;min-width:0;padding-top:1px}
.tour-dots{display:flex;gap:5px;align-items:center}
.tour-dots i{display:block;width:6px;height:6px;border-radius:3px;background:#D9E0EE;transition:width .2s ease,background .2s ease}
.tour-dots i.past{background:#9DB8F0}
.tour-dots i.on{width:18px;background:#0062FE}
.tour-n{font:500 13px/1 var(--sans,'Onest',system-ui,sans-serif);color:#6B7691;margin-top:-4px}
.tour-act{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tour-skip,.tour-next{font:600 16px/1 var(--sans,'Onest',system-ui,sans-serif);border:0;cursor:pointer;min-height:46px;-webkit-tap-highlight-color:transparent}
.tour-skip{background:none;color:#56627E;padding:0 6px;border-radius:14px}
.tour-next{background:linear-gradient(160deg,#3F7BFF,#0050E0);color:#fff;border-radius:16px;padding:0 28px;box-shadow:inset 0 1px 1px rgba(255,255,255,.4),0 8px 20px rgba(0,98,254,.3)}
.tour-skip:focus-visible,.tour-next:focus-visible{outline:3px solid #0062FE;outline-offset:2px}
.tour-next:focus-visible{outline-color:#061331}
.tour-next:active{transform:scale(.97)}
html.pc6 .tour-t{font-size:17px}
/* без анимации: движение подсветки и появление пузыря – мгновенно */
.tour-still .tour-hole,.tour-still .tour-dots i{transition:none}
.tour-still .tour-b.in{animation:none}
@media (prefers-reduced-motion:reduce){.tour-hole,.tour-dots i{transition:none}.tour-b.in{animation:none}.tour-next:active{transform:none}}
