body[data-published-example]{scroll-behavior:auto}
#tour-loading{margin:1rem auto;max-width:70rem;padding:1rem;font:1rem system-ui;color:#183e49}
body[data-published-example] #mo-workspace-preview[inert]{opacity:.65}
#mo-workspace-preview .tour-guide{position:sticky;top:0;z-index:15;background:#f3fbf8;color:#173f45;border:1px solid #9ebfb9;border-left:4px solid #177370;border-radius:.5rem;padding:.8rem 1rem;margin:0 0 1.15rem;box-shadow:0 2px 8px #183d4712}
#mo-workspace-preview .tour-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}
#mo-workspace-preview .tour-header strong{font-size:1.05rem}
#mo-workspace-preview #tour-note{font-size:1rem;line-height:1.45;margin:.45rem 0 0;color:#264a54}
@media(hover:none),(max-width:650px){
 #mo-workspace-preview .tour-guide{position:static}
 #mo-workspace-preview .tour-header{align-items:flex-start;flex-wrap:wrap}
}
#mo-workspace-preview :is(button,a,select,input,textarea,summary)[inert]{cursor:default}
#mo-workspace-preview .mo-button[inert]{opacity:.65}
#mo-workspace-preview #tour-next{flex-shrink:0}
body[data-published-example] .workflow-tool:disabled {opacity:1;color:#a9bbc7}
body[data-published-example] .workflow-tool .workflow-lock {margin-left:auto;flex:none}

#mo-workspace-preview[data-tour-step=library]{--tour-accent:#176956;--tour-tint:#eff8f3;--tour-highlight:#a5dbc7}
#mo-workspace-preview[data-tour-step=spectra]{--tour-accent:#245caf;--tour-tint:#eef4ff;--tour-highlight:#b5d4ff}
#mo-workspace-preview[data-tour-step=results]{--tour-accent:#74459c;--tour-tint:#f7f1fc;--tour-highlight:#dfc3f4}
#mo-workspace-preview[data-tour-step] .tour-guide,
#mo-workspace-preview[data-tour-step] [role=tabpanel]:not([hidden])>.mo-panel{background:var(--tour-tint);border-left:4px solid var(--tour-accent)}
#mo-workspace-preview[data-tour-step] .workflow-steps [aria-selected=true]{background:var(--tour-accent);color:white;box-shadow:inset 4px 0 var(--tour-highlight)}
#mo-workspace-preview[data-tour-step] .workflow-steps [aria-selected=true] .workflow-step-number{color:white}
#mo-workspace-preview .tour-progress{display:flex;gap:.5rem;padding:0;margin:0 0 .65rem;list-style:none}
#mo-workspace-preview .tour-progress li{flex:1;min-width:0;border-top:3px solid #becad0;padding:.25rem .1rem 0;font-size:.875rem;color:#4c606d}
#mo-workspace-preview .tour-progress li.complete{border-color:var(--tour-highlight)}
#mo-workspace-preview .tour-progress li[aria-current=step]{border-color:var(--tour-accent);color:var(--tour-accent);font-weight:750}
#mo-workspace-preview[data-tour-step] :is(#tour-next,#tour-register){background:var(--tour-accent);color:white;border-color:var(--tour-accent);text-decoration:none}
#mo-workspace-preview .tour-invitation{padding:clamp(1rem,3vw,2rem);margin:1.25rem 0 2rem;border:1px solid var(--tour-highlight);border-left:4px solid var(--tour-accent);background:var(--tour-tint);border-radius:.6rem}
#mo-workspace-preview .tour-invitation h3{margin:0}
#mo-workspace-preview .tour-invitation p{max-width:65ch}
#mo-workspace-preview .tour-overview{padding:1rem 1.25rem;margin-bottom:1.4rem;background:white;border:1px solid var(--tour-highlight);border-radius:.55rem}
#mo-workspace-preview .tour-overview h2{margin:0 0 .6rem;font-size:1.3rem}
#mo-workspace-preview .tour-overview ol{list-style:none;margin:0;padding:0;max-width:80ch}
#mo-workspace-preview .tour-overview li+li{margin-top:.6rem}

#mo-workspace-preview[data-tour-step=convert]{--tour-accent:#39596b;--tour-tint:#eff4f6;--tour-highlight:#b8d0da}
body[data-published-example] .mo-top a.mo-brand{color:inherit;text-decoration:none}
body[data-published-example] .mo-top a.mo-brand:hover{text-decoration:underline}
#mo-workspace-preview .tour-progress[hidden]{display:none}

#mo-workspace-preview .tour-help{display:flex;align-items:flex-start;flex-direction:row-reverse;gap:.65rem;margin:.65rem 0 .15rem;position:relative;z-index:1}
#mo-workspace-preview .tour-dot{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;flex:none;min-width:44px;height:44px;padding:0;border:0;background:transparent;color:white;cursor:pointer;border-radius:.45rem}
#mo-workspace-preview .tour-dot .tour-info-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--tour-accent);font:bold 16px/1 Georgia,serif}
#mo-workspace-preview .tour-dot:focus-visible{outline:2px solid var(--tour-accent);outline-offset:1px}
#mo-workspace-preview .tour-help p:not([hidden]){margin:0;padding:.75rem 1rem;max-width:64ch;border:1px solid var(--tour-highlight);border-left:3px solid var(--tour-accent);border-radius:.5rem;background:white;color:#193744;font-size:1rem;line-height:1.45}
@keyframes tour-dot-pulse{0%,100%{box-shadow:0 0 0 2px var(--tour-highlight)}55%{box-shadow:0 0 0 7px transparent}}
@media(prefers-reduced-motion:no-preference){
 #mo-workspace-preview .tour-help:is(.attention,:hover,:focus-within) .tour-dot[aria-expanded=false] .tour-info-icon{animation:tour-dot-pulse 1.8s ease-in-out infinite}
}

#mo-workspace-preview .tour-dot .tour-hint{font:650 .9rem/1.25 system-ui,sans-serif;color:var(--tour-accent);white-space:nowrap}
#mo-workspace-preview .tour-dot[aria-expanded=true] .tour-hint{display:none}
@keyframes tour-hint-blink{0%,30%,100%{opacity:1}65%{opacity:.5}}
@media(prefers-reduced-motion:no-preference){
 #mo-workspace-preview .tour-dot[aria-expanded=false] .tour-hint{animation:tour-hint-blink 2s ease-in-out infinite}
}
