/* Guided tour over the real app (Q, 24 Nov 2026). The page stays usable; a spotlight marks the part being explained and a card docks at the bottom. */
.tour{position:fixed;inset:0;z-index:40;pointer-events:none}
body:not(.app-signed-in) .tour{display:none!important}
.tour-shade{position:fixed;inset:0;background:rgba(10,10,12,.55);pointer-events:auto}
.tour-spot{position:fixed;border-radius:14px;box-shadow:0 0 0 9999px rgba(10,10,12,.55),0 0 0 2px #e8590c;transition:left .2s,top .2s,width .2s,height .2s;pointer-events:none}
.tour.is-interactive .tour-spot{box-shadow:0 0 0 9999px rgba(10,10,12,.35),0 0 0 2px #e8590c}
.tour-card{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(72px + env(safe-area-inset-bottom));width:min(440px,calc(100vw - 24px));box-sizing:border-box;max-height:min(58vh,520px);overflow-y:auto;background:#fff;color:#111;border:1px solid #e6e6e6;border-radius:18px;padding:14px 16px 14px;box-shadow:0 12px 40px rgba(0,0,0,.22);pointer-events:auto;font-size:14.5px;line-height:1.45}
.tour.is-centered .tour-card{top:50%;bottom:auto;transform:translate(-50%,-50%)}
@media(min-width:900px){.tour-card{bottom:24px;left:auto;right:24px;transform:none}.tour.is-centered .tour-card{left:50%;right:auto;transform:translate(-50%,-50%)}}
.tour-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.tour-count{font-size:12px;font-weight:700;color:#e8590c;letter-spacing:.02em}
.tour-skip{font-size:12.5px;color:#737373;text-decoration:underline;text-underline-offset:3px}
.tour-card h2{font-size:18px;font-weight:700;margin:0 0 6px;outline:none}
.tour-body p{margin:0 0 8px}.tour-body .mut{font-size:13px}
.tour-big{font-size:17px}
.tour-quote{margin:8px 0 0;padding:8px 12px;border-left:3px solid #c9a24a;background:#faf7ef;border-radius:0 10px 10px 0;font-size:13.5px}.tour-quote p{margin:0 0 6px}.tour-quote p:last-child{margin:0;font-weight:600}
.tour-error{color:#b00020;font-size:13px;margin:4px 0}
.tour-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}
.tour-actions .btn{min-width:110px}
.tour-back{font-size:13.5px;color:#444}
.tour-card:has(.tour-final) .tour-actions{flex-wrap:wrap}.tour-final{flex:1 1 100%;white-space:normal;line-height:1.3;padding:12px}
.tour-sign{flex:1 1 100%;margin:2px 0 0;text-align:center;font-size:12.5px;color:#737373}
/* Room to scroll the real form above the docked card. */
body.tour-open #screen{padding-bottom:300px}
html[data-theme="dark"] .tour-card{background:#141417;color:#ececef;border-color:#2a2a30}
html[data-theme="dark"] .tour-quote{background:#1e1b14}
html[data-theme="dark"] :is(.tour-back,.tour-sign,.tour-skip){color:#a8a8b0}
body.tour-open .quest-welcome{display:none}
