.topbar-help-button {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--eh-border);
    border-radius: 999px;
    background: var(--eh-surface);
    color: var(--eh-primary);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--eh-shadow-xs);
}

.topbar-help-button:hover,
.topbar-help-button:focus {
    border-color: var(--eh-primary);
    background: var(--eh-primary-soft);
    outline: none;
}

body.driver-active .driver-active-element {
    position: relative;
    z-index: 10001 !important;
    border-radius: 10px;
}

.driver-popover.eh-tutorial-popover {
    width: min(360px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    color: var(--eh-text);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.driver-popover.eh-tutorial-popover,
.driver-popover.eh-tutorial-popover * {
    font-family: inherit;
    box-sizing: border-box;
}

.driver-popover.eh-tutorial-popover .driver-popover-title {
    padding-right: 98px;
    color: var(--eh-text-strong);
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: 0;
}

.driver-popover.eh-tutorial-popover .driver-popover-description {
    color: var(--eh-text-muted);
    font-size: 14px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.driver-popover.eh-tutorial-popover .driver-popover-close-btn {
    top: 12px;
    right: 12px;
    width: auto;
    height: auto;
    padding: 7px 9px;
    border: 1px solid var(--eh-border);
    border-radius: 999px;
    background: var(--eh-surface-soft);
    color: var(--eh-text-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.driver-popover.eh-tutorial-popover .driver-popover-close-btn:hover,
.driver-popover.eh-tutorial-popover .driver-popover-close-btn:focus {
    color: var(--eh-text-strong);
    background: var(--eh-surface);
}

.driver-popover.eh-tutorial-popover .driver-popover-footer {
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.driver-popover.eh-tutorial-popover .driver-popover-progress-text {
    color: var(--eh-text-muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.driver-popover.eh-tutorial-popover .driver-popover-navigation-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.driver-popover.eh-tutorial-popover .driver-popover-navigation-btns button {
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid var(--eh-border);
    border-radius: 999px;
    background: var(--eh-surface);
    color: var(--eh-text-strong);
    font-size: 13px;
    font-weight: 800;
    text-shadow: none;
}

.driver-popover.eh-tutorial-popover .driver-popover-navigation-btns .driver-popover-next-btn {
    border-color: var(--eh-primary);
    background: linear-gradient(135deg, var(--eh-primary), var(--eh-primary-600)) !important;
    color: #fff !important;
}

@media (max-width: 520px) {
    .driver-popover.eh-tutorial-popover {
        width: calc(100vw - 20px);
        padding: 16px;
    }

    .driver-popover.eh-tutorial-popover .driver-popover-title {
        padding-right: 0;
        padding-top: 34px;
        font-size: 17px;
    }

    .driver-popover.eh-tutorial-popover .driver-popover-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .driver-popover.eh-tutorial-popover .driver-popover-progress-text {
        white-space: normal;
    }

    .driver-popover.eh-tutorial-popover .driver-popover-navigation-btns,
    .driver-popover.eh-tutorial-popover .driver-popover-navigation-btns button {
        width: 100%;
    }
}
