.onboarding-tour {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: none;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.onboarding-tour.is-active {
    display: block;
}

.onboarding-tour__spotlight {
    position: fixed;
    z-index: 12001;
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(5, 18, 42, .72), 0 10px 36px rgba(0, 0, 0, .24);
    pointer-events: none;
    transition: inset .22s ease, width .22s ease, height .22s ease, border-radius .22s ease;
}

.onboarding-tour.is-centered .onboarding-tour__spotlight {
    inset: 50% auto auto 50%;
    width: 0;
    height: 0;
    border: 0;
    border-radius: 50%;
}

.onboarding-tour__card {
    position: fixed;
    z-index: 12002;
    width: min(390px, calc(100vw - 28px));
    padding: 23px;
    border: 1px solid #d9e3ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(4, 18, 43, .32);
    color: #17243a;
}

.onboarding-tour__topline,
.onboarding-tour__footer,
.onboarding-tour__actions {
    display: flex;
    align-items: center;
}

.onboarding-tour__topline,
.onboarding-tour__footer {
    justify-content: space-between;
}

.onboarding-tour__eyebrow {
    color: #1769e0;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.onboarding-tour__close {
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 7px;
    background: #f1f4f8;
    color: #617087;
    cursor: pointer;
}

.onboarding-tour__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 13px 0 12px;
    place-items: center;
    border-radius: 10px;
    background: #eaf3ff;
    color: #1769e0;
    font-size: 17px;
}

.onboarding-tour h2 {
    margin: 0 0 7px;
    color: #14213a;
    font-size: 21px;
    letter-spacing: -.02em;
}

.onboarding-tour p {
    min-height: 45px;
    margin: 0;
    color: #68778b;
    font-size: 13px;
    line-height: 1.55;
}

.onboarding-tour__footer {
    gap: 14px;
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid #e6ebf1;
}

.onboarding-tour__progress {
    color: #7d899a;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.onboarding-tour__actions {
    gap: 8px;
}

.onboarding-tour__actions button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 7px;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.onboarding-tour__secondary {
    border: 1px solid #d5deea;
    background: #fff;
    color: #526178;
}

.onboarding-tour__primary {
    border: 1px solid #1769e0;
    background: #1769e0;
    color: #fff;
}

body.onboarding-tour-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .onboarding-tour__card {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        top: auto !important;
        width: auto;
        padding: 20px;
    }

    .onboarding-tour__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .onboarding-tour__actions,
    .onboarding-tour__actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .onboarding-tour__spotlight {
        transition: none;
    }
}
