.sh-page-help {
    position: relative;
    display: inline-flex;
}

.sh-page-help__dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: var(--sh-radius-full);
    background: var(--sh-accent);
    box-shadow: 0 0 0 2px var(--sh-bg-surface);
    pointer-events: none;
}

.sh-page-help__purpose {
    margin: 0;
    padding: 4px 16px 10px;
    max-width: 300px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--sh-text-secondary);
    border-bottom: 1px solid var(--sh-border);
    margin-bottom: 4px;
}

@media (max-width: 1279px) {
    .sh-topbar__actions .sh-page-help { display: flex; width: 100%; }
    .sh-topbar__actions .sh-page-help__dot { top: 50%; right: 10px; transform: translateY(-50%); box-shadow: none; }
}

.sh-tour {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.sh-tour__blocker {
    position: absolute;
    inset: 0;
}

.sh-tour__spotlight {
    position: fixed;
    border-radius: var(--sh-radius-lg);
    box-shadow: 0 0 0 2px var(--sh-accent), 0 0 0 9999px rgba(9, 9, 11, 0.55);
    pointer-events: none;
    transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease;
}

.sh-tour__spotlight--hidden {
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    box-shadow: 0 0 0 9999px rgba(9, 9, 11, 0.55);
}

.sh-tour__card {
    position: fixed;
    width: min(360px, calc(100vw - 32px));
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--sh-bg-elevated);
    color: var(--sh-text-primary);
    border: 1px solid var(--sh-border-strong);
    border-radius: var(--sh-radius-xl);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition: top 180ms ease, left 180ms ease;
}

.sh-tour__card--centered {
    top: 50% !important;
    left: 50% !important;
    width: min(440px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
}

.sh-tour__card--sheet {
    top: auto !important;
    left: 16px !important;
    right: 16px;
    bottom: 16px;
    width: auto;
}

.sh-tour__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sh-tour__step {
    font-size: 12px;
    font-weight: 500;
    color: var(--sh-text-tertiary);
}

.sh-tour__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -4px -6px -4px 0;
    padding: 0;
    border: 0;
    border-radius: var(--sh-radius-md);
    background: transparent;
    color: var(--sh-text-secondary);
    cursor: pointer;
}

.sh-tour__close:hover { background: var(--sh-hover); }

.sh-tour__progress {
    height: 3px;
    border-radius: var(--sh-radius-full);
    background: var(--sh-bg-sunken);
    overflow: hidden;
}

.sh-tour__progress-fill {
    height: 100%;
    background: var(--sh-accent);
    transition: width 180ms ease;
}

.sh-tour__title {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.sh-tour__body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--sh-text-secondary);
}

.sh-tour__body strong { color: var(--sh-text-primary); font-weight: 600; }

.sh-tour__body code,
.sh-tour__body kbd {
    font-family: var(--sh-font-mono);
    font-size: 12px;
    padding: 1px 5px;
    border-radius: var(--sh-radius-sm);
    background: var(--sh-bg-sunken);
    border: 1px solid var(--sh-border);
}

.sh-tour__body a,
.sh-tour__doc-link {
    color: var(--sh-accent-text);
    font-weight: 500;
}

.sh-tour__extra:empty { display: none; }

.sh-tour__extra { font-size: 13px; }

.sh-tour__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.sh-tour__spacer { flex: 1; }

.sh-tour__footer [hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
    .sh-tour__spotlight,
    .sh-tour__card,
    .sh-tour__progress-fill { transition: none; }
}
