.prw-case-tutorial-panel {
    margin: 0 0 22px;
    padding: 0 0 20px;
    border-bottom: 1px solid #e2e8f0;
}

.prw-case-tutorial-panel h4 {
    margin: 0 0 6px;
    color: #101936;
    font-size: 18px;
}

.prw-case-tutorial-panel p {
    max-width: 68ch;
    margin: 0 0 12px;
    color: #60708f;
    line-height: 1.55;
}

.prw-journey-tour-target {
    outline: 4px solid rgba(49, 82, 168, 0.24) !important;
    outline-offset: 7px !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 48px rgba(37, 16, 89, 0.14) !important;
    transition: outline-color 180ms ease, box-shadow 180ms ease;
}

.prw-journey-tour {
    position: fixed;
    z-index: 10010;
    right: 24px;
    bottom: auto;
    box-sizing: border-box;
    width: min(400px, calc(100vw - 48px));
    overflow-y: auto;
    padding: 22px;
    border: 1px solid rgba(91, 68, 139, 0.22);
    border-left: 5px solid #5a3089;
    border-radius: 18px;
    background: #ffffff;
    color: #101936;
    box-shadow: 0 18px 46px rgba(25, 13, 65, 0.15);
    font-family: inherit;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.prw-journey-tour[data-side="left"] {
    right: auto;
    left: 24px;
}

.prw-journey-tour[data-side="right"] {
    right: 24px;
    left: auto;
}

.prw-journey-tour[hidden] {
    display: none !important;
}

.prw-journey-tour-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}

.prw-journey-tour-head > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #ddd4ed;
    border-radius: 999px;
    background: #f7f4fb;
    color: #5a3089;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.prw-journey-tour h2 {
    margin: 0 0 9px;
    color: #101936;
    font-size: clamp(22px, 2.3vw, 28px);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.prw-journey-tour > p {
    margin: 0;
    color: #596985;
    font-size: 15px;
    line-height: 1.58;
}

.prw-journey-tour-close {
    display: inline-grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    padding: 0;
    border: 1px solid #ddd4ed;
    border-radius: 50%;
    background: #ffffff;
    color: #40177b;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.prw-journey-tour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #ebe6f2;
}

.prw-journey-tour-nav {
    display: inline-flex;
    gap: 8px;
}

.prw-journey-tour button {
    min-height: 42px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

.prw-journey-tour-skip {
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: #64708a;
}

.prw-journey-tour-back {
    padding: 9px 15px;
    border: 1px solid #d9d3e5;
    background: #ffffff;
    color: #40177b;
}

.prw-journey-tour-next {
    min-width: 86px;
    padding: 9px 18px;
    border: 0;
    background: linear-gradient(100deg, #251059 0%, #d10f5c 100%);
    color: #ffffff;
    box-shadow: 0 9px 22px rgba(107, 25, 108, 0.2);
}

.prw-journey-tour button:hover,
.prw-journey-tour button:focus-visible {
    transform: translateY(-1px);
}

.prw-journey-tour button:focus-visible,
.prw-journey-tour-target:focus-visible {
    outline: 3px solid #3152a8;
    outline-offset: 3px;
}

.prw-journey-tour button:disabled {
    cursor: default;
    opacity: 0.42;
    transform: none;
}

@media (max-width: 680px) {
    .prw-journey-tour {
        right: 12px !important;
        bottom: auto;
        left: 12px !important;
        width: auto;
        padding: 18px;
        border-radius: 16px;
    }

    .prw-journey-tour h2 {
        font-size: 22px;
    }

    .prw-journey-tour-actions {
        align-items: flex-end;
    }

    .prw-journey-tour-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prw-journey-tour-target,
    .prw-journey-tour button {
        scroll-behavior: auto;
        transition: none;
    }
}
