.analytics-settings { margin-block: 0.75rem; }
.analytics-settings button {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1e3ba1;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.analytics-consent {
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    inset-inline-start: max(1rem, env(safe-area-inset-left));
    inset-block-end: max(1rem, env(safe-area-inset-bottom));
    width: min(26rem, calc(100vw - 2rem));
    padding: clamp(0.9rem, 3vw, 1.15rem);
    border: 1px solid #d6d9d4;
    border-radius: 1rem;
    background: #fffefa;
    color: #1d211e;
    box-shadow: 0 8px 36px #16192733;
}
.analytics-consent #analytics-title {
    margin: 0;
    color: #1d211e;
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.analytics-consent p { margin-block: 0.45rem 0.75rem; font-size: 0.9rem; line-height: 1.45; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-end: 0.5rem; }
.analytics-actions button {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0.55rem 0.7rem;
    border: 1px solid #b9c3d3;
    border-radius: 999px;
    color: #222b3b;
    background: #f2f4f8;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    cursor: pointer;
}
.analytics-actions button:hover { background: #e7ebf3; }
.analytics-actions [data-analytics-choice="allow"] { border-color: #244bc9; color: #fff; background: #244bc9; }
.analytics-actions [data-analytics-choice="allow"]:hover { background: #193ca6; }
.analytics-consent a { color: #555e68; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 0.18em; }
.analytics-consent :is(a, button):focus-visible { outline: 2px solid #244bc9; outline-offset: 3px; }
