.page-help-wizard-target {
    position: relative !important;
    z-index: 12002 !important;
    isolation: isolate;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .3), 0 0 26px rgba(245, 158, 11, .72) !important;
    animation: pageHelpWizardPulse 1.35s ease-in-out infinite;
}

.page-help-wizard-backdrop {
    position: fixed;
    z-index: 12000;
    border: 3px solid rgba(245, 158, 11, .92);
    border-radius: 11px;
    background: transparent;
    box-shadow: 0 0 0 9999px rgba(4, 8, 18, .52), 0 0 28px rgba(245, 158, 11, .72);
    pointer-events: none;
}

.page-help-wizard {
    position: fixed;
    z-index: 12003;
    width: min(310px, calc(100vw - 24px));
    padding: 14px 15px;
    border: 1px solid rgba(245, 158, 11, .58);
    border-radius: 13px;
    background: var(--bg-card, #fff);
    color: var(--text-primary, #1a1a2e);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
    direction: rtl;
    text-align: right;
}

.page-help-wizard::before {
    content: "";
    position: absolute;
    left: var(--page-help-arrow-left, 35px);
    width: 14px;
    height: 14px;
    background: inherit;
    border: solid rgba(245, 158, 11, .58);
    transform: rotate(45deg);
}

.page-help-wizard.is-below::before {
    top: -8px;
    border-width: 1px 0 0 1px;
}

.page-help-wizard.is-above::before {
    bottom: -8px;
    border-width: 0 1px 1px 0;
}

.page-help-wizard-kicker {
    display: block;
    margin-bottom: 3px;
    color: #d97706;
    font-size: .68rem;
    font-weight: 900;
}

.page-help-wizard strong {
    display: block;
    margin-bottom: 5px;
    font-size: .9rem;
}

.page-help-wizard p {
    margin: 0 0 10px;
    color: var(--text-secondary, #5a5c69);
    font-size: .75rem;
    line-height: 1.75;
}

.page-help-wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.page-help-wizard button {
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 8px;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}

.page-help-wizard-dismiss {
    border: 1px solid var(--border-color, #e3e6f0);
    background: var(--bg-card-hover, #f8f9fc);
    color: var(--text-secondary, #5a5c69);
}

.page-help-wizard-open {
    border: 1px solid #d97706;
    background: #f59e0b;
    color: #2b1a00;
}

@keyframes pageHelpWizardPulse {
    50% { box-shadow: 0 0 0 7px rgba(245, 158, 11, .14), 0 0 34px rgba(245, 158, 11, .82) !important; }
}

@media (prefers-reduced-motion: reduce) {
    .page-help-wizard-target { animation: none; }
}

@media (max-width: 575px) {
    .page-help-wizard {
        width: calc(100vw - 20px);
        left: 10px !important;
    }

    .page-help-wizard-actions button { flex: 1; }
}
