.next-guide-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 30px;
    margin-top: 6px;
    padding: 0 10px;
    border: 1px solid #cbd9e3;
    border-radius: 6px;
    background: #fff;
    color: #087f82;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.next-guide-open:hover,
.next-guide-open:focus-visible {
    border-color: #0aa7a5;
    background: #f2fbfb;
    outline: none;
}

.next-guide-open i {
    font-size: 14px;
}

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

.next-tour {
    position: fixed;
    inset: 0;
    z-index: 20000;
    pointer-events: none;
}

.next-tour-spotlight {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border: 2px solid #0aa7a5;
    border-radius: 7px;
    background: transparent;
    box-shadow:
        0 0 0 9999px rgba(13, 24, 39, 0.58),
        0 0 0 4px rgba(10, 167, 165, 0.16);
    pointer-events: none;
}

.next-tour-card {
    position: fixed;
    left: 16px;
    top: auto;
    bottom: 16px;
    z-index: 20001;
    width: min(312px, calc(100vw - 24px));
    padding: 14px 15px 13px;
    border: 1px solid #d6e0e8;
    border-radius: 8px;
    background: #fff;
    color: #14243a;
    box-shadow: 0 14px 42px rgba(10, 23, 39, 0.22);
    pointer-events: auto;
}

.next-tour-head,
.next-tour-footer,
.next-tour-controls {
    display: flex;
    align-items: center;
}

.next-tour-head,
.next-tour-footer {
    justify-content: space-between;
    gap: 12px;
}

.next-tour-head > span {
    color: #078b8d;
    font-size: 11px;
    font-weight: 800;
}

.next-tour-head > div,
.next-tour-controls {
    display: flex;
    gap: 4px;
}

.next-tour-head button,
.next-tour-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #dbe3ea;
    border-radius: 5px;
    background: #fff;
    color: #26384e;
    cursor: pointer;
    font-size: 14px;
}

.next-tour-head button:hover,
.next-tour-controls button:hover,
.next-tour-head button:focus-visible,
.next-tour-controls button:focus-visible {
    border-color: #0aa7a5;
    color: #087f82;
    outline: none;
}

.next-tour-controls button:disabled {
    color: #a8b2bd;
    cursor: default;
    opacity: 0.5;
}

.next-tour-card h2 {
    margin: 10px 0 5px;
    color: #102238;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.next-tour-card p {
    min-height: 3.8em;
    margin: 0;
    color: #526176;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
}

.next-tour-footer {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #e8edf2;
}

.next-tour-progress {
    display: grid;
    grid-template-columns: repeat(6, 18px);
    gap: 4px;
}

.next-tour-progress i {
    display: block;
    width: 18px;
    height: 3px;
    background: #dce4ea;
}

.next-tour-progress i.is-done,
.next-tour-progress i.is-current {
    background: #0aa7a5;
}

@media (max-width: 620px), (max-height: 500px) {
    .next-tour-card {
        left: 8px;
        bottom: 8px;
        width: min(286px, calc(100vw - 16px));
        padding: 10px 11px;
    }

    .next-tour-card h2 {
        margin-top: 6px;
        font-size: 15px;
    }

    .next-tour-card p {
        min-height: 0;
        font-size: 11px;
        line-height: 1.55;
    }

    .next-tour-footer {
        margin-top: 7px;
        padding-top: 7px;
    }

    .next-tour-head button,
    .next-tour-controls button {
        width: 27px;
        height: 27px;
    }

    .next-tour-progress {
        grid-template-columns: repeat(6, 13px);
    }

    .next-tour-progress i {
        width: 13px;
    }
}
