@media screen{
/* Tour uses the active palette rather than its original fixed blue/gold colors. */
:root .kt-pop{background:var(--theme-opaque)!important;color:var(--theme-ink)!important;border:1px solid var(--theme-edge)!important;border-radius:14px!important;box-shadow:0 12px 40px #0003!important}
:root .kt-pop :is(.kt-title,.kt-text,.kt-count,.kt-chip,.kt-tip,.kt-try){color:var(--theme-ink)!important}
:root .kt-pop :is(.kt-text,.kt-count,.kt-skip){color:var(--theme-muted)!important}
:root .kt-pop :is(.kt-badge,.kt-tip,.kt-chip){background:var(--theme-soft)!important;border-color:var(--theme-edge)!important}
:root .kt-pop :is(.kt-badge,.kt-tip>span,.kt-chip>span){color:var(--theme-accent)!important;display:inline-flex;align-items:center;justify-content:center}
:root .kt-pop .kt-badge svg{width:25px;height:25px;stroke-width:1.6}
:root .kt-pop :is(.kt-chip,.kt-tip) svg{width:16px;height:16px;stroke-width:1.6}
:root .kt-pop .kt-primary{background:var(--theme-action)!important;color:var(--theme-on)!important;border-color:var(--theme-action)!important}
:root .kt-pop .kt-primary:hover{background:var(--theme-action-hover)!important}
:root .kt-pop :is(.kt-ghost,.kt-x){background:transparent!important;color:var(--theme-ink)!important;border-color:var(--theme-edge)!important}
:root .kt-pop .kt-bar{background:var(--theme-soft)!important}
:root .kt-pop :is(.kt-bar i,.kt-dot.is-on,.kt-try-dot){background:var(--theme-accent)!important}
:root .kt-pop .kt-dot{border-color:var(--theme-edge)!important}
:root .kt-ring{border:2px solid var(--theme-accent)!important;box-shadow:0 0 0 4px var(--theme-soft)!important;background:transparent!important;transition:none!important}
:root .kt-panel{background:#071b14b8!important;backdrop-filter:none!important}
:root .kt-pop .kt-title{font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-size:22px;line-height:1.25}
:root .kt-pop .kt-text{font-size:14px;line-height:1.65}

}

@media screen{
body.kt-open #sidebar-nav{scroll-behavior:auto!important;scroll-padding-block:20px}
:root .kt-root{margin:0!important;transform:none!important;overflow:visible!important}
}

/* Explicit matched surfaces keep both tour callouts readable in dark mode. */
@media screen{
:root .kt-pop :is(.kt-try,.kt-tip){background:var(--theme-soft)!important;color:var(--theme-ink)!important;border:1px solid var(--theme-edge)!important;opacity:1!important;padding:12px 14px;border-radius:9px;font-size:14px;line-height:1.6}
:root .kt-pop :is(.kt-try,.kt-tip) :is(span,svg){color:var(--theme-accent)!important;opacity:1!important}
:root .kt-pop .kt-try .kt-try-dot{background:var(--theme-accent)!important;box-shadow:none!important}
:root[data-theme=dark] .kt-pop :is(.kt-try,.kt-tip){background:#294438!important;border-color:#567962!important;color:#f0f6ef!important}
:root[data-theme=dark] .kt-pop :is(.kt-try,.kt-tip) :is(span,svg){color:#a2dec0!important}
}
/* Neutral tour progress with a clear current step and soft action halo. */
@media screen{
:root .kt-pop{--tour-dot:var(--theme-accent);--tour-glow:#ffffffa6}
:root[data-theme=dark] .kt-pop{--tour-dot:#ffffff;--tour-glow:#ffffff70}
:root .kt-pop .kt-dot,:root .kt-pop .kt-dot.is-seen,:root .kt-pop .kt-dot.is-on{background:var(--tour-dot)!important;border-color:var(--tour-dot)!important;box-shadow:none!important;opacity:.55!important}
:root .kt-pop .kt-dot.is-on{opacity:1!important;box-shadow:0 0 6px color-mix(in srgb,var(--tour-dot) 35%,transparent)!important}
:root[data-theme=dark] .kt-pop .kt-dot,:root[data-theme=dark] .kt-pop .kt-dot.is-seen{opacity:.8!important}
:root[data-theme=dark] .kt-pop .kt-dot.is-on{opacity:1!important}
:root .kt-pop .kt-primary{box-shadow:0 0 0 1px #ffffff52,0 0 13px var(--tour-glow)!important}
:root .kt-pop .kt-primary:hover,:root .kt-pop .kt-primary:focus-visible{box-shadow:0 0 0 1px #ffffffb3,0 0 19px var(--tour-glow)!important}
}
