#tour-layer{position:fixed;inset:0;margin:0;padding:0;border:0;background:transparent;width:100vw;height:100dvh;max-width:none;max-height:none;overflow:hidden;color:var(--ink);animation:none!important;transform:none!important;opacity:1!important}#tour-layer::backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.tour-veil{position:fixed;inset:0;pointer-events:none;opacity:1}.tour-veil svg{width:100%;height:100%;display:block}.tour-hole-cover{position:fixed;pointer-events:none;background:rgba(23,23,25,.48);opacity:0;transition:opacity .16s ease}.tour-spotlight{position:fixed;pointer-events:none;border:2px solid var(--accent);opacity:0;transition:opacity .16s ease;box-shadow:none}.tour-card{position:fixed;background:white;border-radius:16px;padding:18px;box-shadow:0 12px 36px rgba(23,23,25,.18);max-height:calc(var(--ui-visible-height,100dvh) - 24px);overflow-y:auto;opacity:0;min-width:0;transform-origin:50% 0}
#tour-layer.ready .tour-card,#tour-layer.ready .tour-spotlight,#tour-layer.action-focus .tour-spotlight{opacity:1}#tour-layer.changing .tour-spotlight{opacity:0}#tour-layer.changing .tour-hole-cover{opacity:1}#tour-layer.routing .tour-card{opacity:0;pointer-events:none}
.tour-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tour-count{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.tour-card header button{width:44px;min-width:44px;height:44px;min-height:44px;padding:12px;background:var(--soft)}.tour-card header svg{width:18px;height:18px}.tour-card h2{font:600 25px/1.3 Oswald,sans-serif;margin:0 0 10px;text-wrap:balance}.tour-description{font:400 13px/1.7 Manrope,sans-serif;margin:0}.tour-example{display:block;color:var(--accent-ink);font-size:11px;margin-top:10px}.tour-error{color:var(--error);font-size:12px;line-height:1.6;margin:6px 0 0}.tour-error:empty{display:none}.tour-card #tour-show{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:14px;font-size:12px;background:var(--soft)}.tour-card footer{display:flex;align-items:center;gap:8px;margin-top:16px}.tour-card footer button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:12px;padding:9px 12px;white-space:nowrap}.tour-card footer svg{width:18px;flex:none}.tour-card #tour-skip{margin-right:auto;padding-left:0;background:transparent;color:var(--muted)}.tour-card #tour-back{width:44px;min-width:44px;padding:10px;background:var(--soft)}
.tour-route{position:fixed;display:none;align-items:center;gap:12px;transform:translateX(-50%);padding:4px 8px 4px 16px;border-radius:12px;background:var(--dark);color:white;min-height:52px;box-shadow:0 6px 20px rgba(23,23,25,.2)}#tour-layer.routing .tour-route{display:flex}.tour-route>span{flex:1;min-width:0;font:500 13px/1.45 Manrope,sans-serif}.tour-route button{width:44px;min-width:44px;height:44px;background:transparent;color:white}.tour-route button:hover{background:#39343f}.tour-route svg{width:18px;height:18px}.tour-pointer{position:fixed;width:24px;height:24px;border:2px solid white;border-radius:50%;background:var(--accent);box-shadow:0 2px 8px rgba(23,23,25,.25);opacity:0;pointer-events:none}.tour-pressed{background:var(--accent)!important;color:var(--accent-ink)!important;transition:background .14s ease,color .14s ease}
#modal.tour-form{top:12px!important;bottom:auto!important;transform:none!important;height:auto;margin:0 auto;max-height:var(--tour-form-height);overflow:hidden}#modal.tour-form #modal-body{flex:none;max-height:calc(var(--tour-form-height) - 90px);overflow-y:auto}#modal.tour-form .modal-footer,#modal.tour-form .editor-footer{display:none}#modal.tour-form textarea{min-height:76px;max-height:90px}#modal.tour-form .dropzone{padding:14px;gap:6px;min-height:74px}#modal.tour-form .dropzone>small{display:none}
@media(max-width:760px){.tour-card{padding:16px}.tour-card h2{font-size:24px}.tour-description{font-size:13px;line-height:1.6}.tour-card footer{gap:6px}.tour-card #tour-show{margin-top:12px}}
@media(max-height:500px) and (min-width:600px){.tour-card{padding:14px}.tour-card header{margin-bottom:8px}.tour-card h2{font-size:22px;margin-bottom:8px}.tour-description{line-height:1.5}.tour-card footer{margin-top:12px}.tour-card #tour-show{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.tour-hole-cover,.tour-spotlight{transition-duration:.08s}}

#sidebar.tour-sidebar-scroll{overflow-y:auto;overscroll-behavior:contain}#sidebar.tour-sidebar-scroll>*:not(.project-list){flex-shrink:0}#sidebar.tour-sidebar-scroll .project-list{min-height:76px}
