.bi-analytics-consent {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    width: min(620px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid #b9d3ff;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    box-shadow: 0 24px 70px rgba(13, 43, 85, .24);
    color: #062a5f;
    transform: translateY(18px);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
}

.bi-analytics-consent[hidden] {
    display: none;
}

.bi-analytics-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.bi-analytics-consent__content {
    min-width: 0;
}

.bi-analytics-consent__eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e4efff;
    color: #135be8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bi-analytics-consent strong {
    display: block;
    margin: 0 0 6px;
    color: #062a5f;
    font-size: 20px;
    line-height: 1.2;
}

.bi-analytics-consent p {
    margin: 0;
    color: #355477;
    font-size: 14px;
    line-height: 1.55;
}

.bi-analytics-consent__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 175px;
}

.bi-analytics-consent button,
.bi-analytics-consent a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.bi-analytics-consent__accept {
    border: 1px solid #1d6ff2;
    background: #1d6ff2;
    color: #fff;
}

.bi-analytics-consent__reject {
    border: 1px solid #b9d3ff;
    background: #fff;
    color: #062a5f;
}

.bi-analytics-consent a {
    color: #135be8;
    background: transparent;
}

.bi-analytics-consent button:hover,
.bi-analytics-consent a:hover,
.bi-analytics-consent button:focus-visible,
.bi-analytics-consent a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(29, 111, 242, .18);
}

@media (max-width: 720px) {
    .bi-analytics-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 18px;
    }

    .bi-analytics-consent__actions {
        min-width: 0;
    }
}
