.analytics-consent {
    position: fixed;
    z-index: 10000;
    right: 22px;
    bottom: 22px;
    width: min(520px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid #dddafc;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(16, 24, 43, .24);
}

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

.analytics-consent h2 {
    margin: 0 0 6px;
    color: #10182b;
    font-size: 20px;
    line-height: 1.25;
    outline: none;
}

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

.analytics-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.analytics-consent button,
.cookie-settings-link {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.analytics-consent button {
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 750;
}

.analytics-consent .consent-decline {
    border: 1px solid #dce0e9;
    background: #fff;
    color: #172033;
}

.analytics-consent .consent-accept {
    background: #6252f5;
    color: #fff;
}

.cookie-settings-link {
    padding: 0;
    background: transparent;
    color: inherit;
}

.cookie-settings-link:hover {
    color: #fff;
}

@media (max-width: 600px) {
    .site-header {
        padding: 0 12px;
        gap: 10px;
    }

    .site-header .home-brand {
        font-size: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .text-link.mobile-login-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 10px;
        border: 1px solid #d9ddea;
        border-radius: 8px;
        color: #10182b;
        font-size: 13px;
        font-weight: 750;
        white-space: nowrap;
    }

    .home-button.small {
        padding: 8px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .analytics-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 18px;
    }

    .analytics-consent-actions {
        flex-direction: column-reverse;
    }

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