/* Feedback launcher — premium fixed utility, visually lighter than primary CTAs. */
.cei-feedback-launcher {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 99980;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 60px;
    padding: 0 14px 0 12px;
    gap: 0;
    border: 1px solid rgba(23, 63, 103, .16);
    border-right: 0;
    border-radius: 15px 0 0 15px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(244, 248, 252, .98) 100%);
    box-shadow: -8px 12px 28px rgba(16, 35, 51, .12), 0 1px 2px rgba(16, 35, 51, .05);
    color: #173f67;
    text-decoration: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: width .2s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.cei-feedback-launcher__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cei-feedback-launcher__label {
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    color: currentColor;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
    transition: max-width .2s ease, margin-left .18s ease, opacity .14s ease;
}

.cei-feedback-launcher:hover,
.cei-feedback-launcher:focus-visible {
    width: 136px;
    border-color: rgba(31, 95, 150, .24);
    background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
    box-shadow: -10px 14px 32px rgba(16, 35, 51, .14), 0 1px 2px rgba(16, 35, 51, .05);
    color: #1f5f96;
}

.cei-feedback-launcher:hover {
    transform: translateY(-50%) translateX(-1px);
}

.cei-feedback-launcher:hover .cei-feedback-launcher__label,
.cei-feedback-launcher:focus-visible .cei-feedback-launcher__label {
    max-width: 74px;
    margin-left: 9px;
    opacity: 1;
}

.cei-feedback-launcher:focus-visible {
    outline: 3px solid rgba(31, 95, 150, .18);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cei-feedback-launcher,
    .cei-feedback-launcher:hover,
    .cei-feedback-launcher:focus-visible {
        top: auto;
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
        padding: 0;
        border-right: 1px solid rgba(23, 63, 103, .16);
        border-radius: 13px;
        transform: none;
    }

    .cei-feedback-launcher__label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cei-feedback-launcher,
    .cei-feedback-launcher__label {
        transition: none;
    }
}
