/* Guided editor tour: the real control stays visible through an SVG spotlight. */
#heusEditorTour {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    isolation: isolate;
    color: #fff;
    font-family: Inter, Onest, sans-serif;
}
#heusEditorTour *, #heusTourReplay, #heusTourReplay * { box-sizing: border-box; }
#heusEditorTour > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#heusEditorTour > svg path { fill: rgba(5, 2, 16, .78); }
.heus-tour-spotlight {
    position: fixed;
    border: 2px solid rgb(var(--acc-400, 192 132 252));
    border-radius: 13px;
    box-shadow: 0 0 0 4px rgb(var(--acc-400, 192 132 252) / .16), 0 0 28px rgb(var(--acc-400, 192 132 252) / .2);
    pointer-events: none;
}
.heus-tour-card {
    position: fixed;
    width: min(368px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border: 1px solid rgba(221, 190, 255, .25);
    border-radius: 22px;
    background: linear-gradient(145deg, #2a1b43, #171326);
    box-shadow: 0 24px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.06);
    padding: 20px;
    text-align: left;
    overscroll-behavior: contain;
}
.heus-tour-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.heus-tour-kicker { color: #d4b8f3; font-size: 9px; letter-spacing: .11em; font-weight: 800; }
#heusEditorTour button { font: inherit; cursor: pointer; border: 0; }
#heusEditorTour button:focus-visible, #heusTourReplay:focus-visible { outline: 2px solid #f4ddff; outline-offset: 4px; }
#heusEditorTour .heus-tour-close { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: rgba(255,255,255,.06); color: #d4c8e6; font-size: 23px; line-height: 1; }
.heus-tour-phases { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 5px; margin: 15px 0 18px; padding: 0; list-style: none; }
.heus-tour-phases li { display: flex; align-items: center; gap: 5px; color: #8e829f; font-size: 9px; line-height: 1.35; font-weight: 650; }
.heus-tour-phases b { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); font-size: 10px; }
.heus-tour-phases li.is-active { color: #fff; }
.heus-tour-phases li.is-active b { background: rgb(var(--acc-500,168 85 247)); border-color: transparent; }
.heus-tour-phases li.is-done { color: #cfb3e6; }
.heus-tour-phases li.is-done b { background: rgba(192,132,252,.16); }
.heus-tour-counter { color: #bda6d5; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
#heusTourTitle { color: #fff; margin: 7px 0 10px; font-size: 21px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; text-transform: none; }
#heusTourDescription { margin: 0; color: #d0c4df; font-size: 12px; line-height: 1.7; font-weight: 450; }
.heus-tour-progress { height: 3px; margin: 20px 0 16px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.heus-tour-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--acc-400,192 132 252)), #ef79cc); transition: width 180ms ease; }
.heus-tour-bottom, .heus-tour-bottom > div { display: flex; align-items: center; gap: 8px; }
.heus-tour-bottom { justify-content: space-between; }
#heusEditorTour .heus-tour-skip { padding: 6px 0; color: #b6a6c9; background: none; font-size: 10px; text-align: left; }
#heusEditorTour .heus-tour-skip:hover { color: #fff; }
#heusEditorTour .heus-tour-back { padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.07); color: #e7dcf3; font-size: 11px; font-weight: 700; }
#heusEditorTour .heus-tour-back:disabled { opacity: .3; cursor: default; }
#heusEditorTour .heus-tour-next { padding: 9px 13px; border-radius: 10px; background: linear-gradient(115deg, rgb(var(--acc-500,168 85 247)), #bd3ba6); color: #fff; font-size: 11px; font-weight: 750; white-space: nowrap; }
#heusEditorTour .heus-tour-next:hover { filter: brightness(1.12); }
.heus-tour-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#heusTourReplay {
    position: fixed;
    right: 28px;
    bottom: 50px;
    z-index: 25;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 6px;
    border: 1px solid rgba(209,173,242,.25);
    border-radius: 100px;
    background: #261b3b;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    color: #e4d2f5;
    font: 650 10px Inter, sans-serif;
    cursor: pointer;
}
#heusTourReplay > span:first-child { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(227,201,250,.35); border-radius: 50%; font-size: 12px; }
#heusTourReplay[hidden], .heus-tour-spotlight[hidden] { display: none; }
@media (max-width: 480px) {
    .heus-tour-card { padding: 17px; border-radius: 18px; }
    #heusTourTitle { font-size: 19px; }
    .heus-tour-bottom, .heus-tour-bottom > div { gap: 5px; }
    #heusEditorTour .heus-tour-back { padding: 9px 10px; }
    #heusEditorTour .heus-tour-next { padding: 9px 11px; }
    #heusTourReplay { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .heus-tour-progress span { transition: none; } }
