.analytics-consent {
    position: fixed;
    bottom: 16px;
    bottom: max(16px, calc(100% - 100dvh + 16px));
    left: max(16px, calc((100vw - 1120px) / 2));
    width: calc(100vw - 32px);
    z-index: 10000;
    max-width: 1120px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    color: #1d2633;
    border: 1px solid #99a4b4;
    border-radius: 12px;
    box-shadow: 0 6px 28px #0003;
    font-size: 15px;
    line-height: 1.5;
}
.analytics-consent[hidden], .analytics-consent [hidden], [data-withdraw-consent][hidden] {
    display: none !important;
}
.analytics-consent h2 { margin: 0 0 8px; font-size: 20px; }
.analytics-consent-copy { min-height: 0; overflow: auto; }
.analytics-consent p { margin: 8px 0; }
.analytics-consent a, .analytics-consent summary { color: #154a80; }
.analytics-consent summary { cursor: pointer; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 10px; margin-top: 16px; }
.analytics-consent-actions button {
    flex: 1 1 180px;
    min-height: 44px;
    padding: 10px 18px;
    background: #eef3f8;
    color: #123759;
    border: 1px solid #35618a;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.analytics-consent-actions button:hover { background: #dce9f5; }
.analytics-consent-actions button:disabled { opacity: .6; cursor: default; }
.analytics-consent-actions button:focus-visible,
.analytics-consent a:focus-visible,
.analytics-consent summary:focus-visible,
.privacy-control:focus-visible { outline: 3px solid #3763ac; outline-offset: 3px; }
.privacy-control {
    display: inline-block;
    padding: 6px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.footer-privacy { display: block; margin-top: 4px; }
