.ch-analytics-consent[hidden],
.ch-analytics-consent-manage[hidden] {
    display: none !important;
}

.ch-analytics-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    color: #252525;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

.ch-analytics-consent__copy {
    max-width: 720px;
}

.ch-analytics-consent h2 {
    margin: 0 0 6px;
    color: inherit;
    font-size: 18px;
    line-height: 1.35;
}

.ch-analytics-consent p {
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.55;
}

.ch-analytics-consent__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.ch-analytics-consent button,
.ch-analytics-consent-manage {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #8d2727;
    border-radius: 4px;
    font: 600 14px/1.2 inherit;
    cursor: pointer;
}

.ch-analytics-consent__accept {
    color: #fff;
    background: #8d2727;
}

.ch-analytics-consent__reject {
    color: #6f1f1f;
    background: #fff;
}

.ch-analytics-consent button:focus-visible,
.ch-analytics-consent-manage:focus-visible {
    outline: 3px solid #f4b942;
    outline-offset: 3px;
}

.ch-analytics-consent-manage {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2147482999;
    color: #6f1f1f;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}

@media (max-width: 767px) {
    .ch-analytics-consent {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .ch-analytics-consent__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .ch-analytics-consent button {
        width: 100%;
    }
}
