.product-guidance-launcher {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 3000;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 3.5rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #121c27;
    box-shadow: 0 16px 35px rgb(15 23 42 / 18%);
    cursor: pointer;
    font: 600 0.875rem/1 Inter, system-ui, -apple-system, sans-serif;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.product-guidance-launcher:hover,
.product-guidance-launcher:focus-visible {
    background: #121c27;
    color: #ffffff;
    transform: translateY(-1px);
}

.product-guidance-launcher i {
    font-size: 1.25rem;
}

.workflow-overview-launcher {
    position: fixed;
    left: 1.25rem;
    bottom: 5.25rem;
    z-index: 3000;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 3rem;
    padding: 0 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 12px 28px rgb(15 23 42 / 14%);
    cursor: pointer;
    font: 600 0.8125rem/1 Inter, system-ui, -apple-system, sans-serif;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.workflow-overview-launcher:hover,
.workflow-overview-launcher:focus-visible {
    background: #e0f2fe;
    color: #0c4a6e;
    transform: translateY(-1px);
}

.workflow-overview-launcher i {
    font-size: 1.15rem;
}

@media (max-width: 640px) {
    .product-guidance-launcher {
        left: 1rem;
        bottom: 1rem;
        width: 3.5rem;
        justify-content: center;
        padding: 0;
    }

    .product-guidance-launcher span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .workflow-overview-launcher {
        left: 1rem;
        bottom: 4.75rem;
        width: 3rem;
        justify-content: center;
        padding: 0;
    }

    .workflow-overview-launcher span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.product-guidance-popover {
    border-radius: 0.85rem;
    border: 1px solid rgb(226 232 240);
    box-shadow: 0 18px 45px rgb(15 23 42 / 18%);
    max-width: min(22rem, calc(100vw - 2rem));
}

.product-guidance-popover .driver-popover-title {
    color: #121c27;
    font-size: 1rem;
    font-weight: 700;
}

.product-guidance-popover .driver-popover-description {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
}

.product-guidance-popover .driver-popover-next-btn,
.product-guidance-popover .driver-popover-prev-btn {
    border-radius: 0.5rem;
    border: 0;
    font-weight: 600;
    text-shadow: none;
}

.product-guidance-popover .driver-popover-next-btn {
    background: #121c27;
    color: #fff;
}

.product-guidance-popover .driver-popover-next-btn:hover,
.product-guidance-popover .driver-popover-next-btn:focus-visible {
    background: #1a2840;
}

.product-guidance-popover .driver-popover-prev-btn {
    background: #f1f5f9;
    color: #334155;
}

.product-guidance-popover .product-guidance-close-button {
    background: #f1f5f9;
    color: #334155;
}

.product-guidance-popover .product-guidance-close-button:hover,
.product-guidance-popover .product-guidance-close-button:focus-visible {
    background: #e2e8f0;
    color: #0f172a;
}

/* The platform-wide focus rule is useful elsewhere, but the close icon's
   rectangular outline clashes with this compact popover. Keep the focus
   state quiet and scoped to this control only. */
.product-guidance-popover .driver-popover-close-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .driver-overlay,
    .driver-popover {
        transition: none !important;
    }
}
