.analytics-preferences[hidden] { display: none; }
.analytics-preferences {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 10000;
    max-width: 640px;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #687386;
    border-radius: 12px;
    background: #fff;
    color: #202733;
    box-shadow: 0 4px 24px #0003;
    font-size: 1rem;
    line-height: 1.6;
}
.analytics-preferences h2 { margin: 0 0 8px; font-size: 1.2rem; color: #202733; }
.analytics-preferences p { margin: 8px 0; }
.analytics-preferences a { color: #174f96; text-decoration: underline; }
.analytics-preferences-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.analytics-preferences-actions button {
    padding: 10px 14px;
    border: 1px solid #34465e;
    border-radius: 6px;
    background: #fff;
    color: #202733;
    font: inherit;
    cursor: pointer;
}
.analytics-preferences-actions button:focus-visible { outline: 3px solid #1267cb; outline-offset: 3px; }
