.analytics-choice[hidden] { display: none; }
.analytics-choice { position: fixed; z-index: 100; bottom: 1rem; left: 1rem; width: min(34rem, calc(100% - 2rem)); max-height: 65vh; overflow: auto; padding: 1.25rem; background: #fff; color: #102238; border: 2px solid #315d96; border-radius: .5rem; box-shadow: 0 .3rem 1.5rem #07172940; font-size: 1rem; }
.analytics-choice h2 { font-size: 1.2rem; margin: 0 0 .6rem; }
.analytics-choice p { margin: 0 0 1rem; line-height: 1.5; }
.analytics-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.analytics-actions button { font: inherit; font-size: 1rem; padding: .6rem .9rem; min-height: 44px; border: 1px solid #315d96; border-radius: .25rem; background: #fff; color: #102238; cursor: pointer; }
.analytics-actions button:hover { background: #e9f0fb; }
.analytics-choice a { color: #214e89; text-decoration: underline; }
.privacy-wrap { padding-top: 1rem; padding-bottom: 2rem; font-size: 1rem; }
.privacy-link { color: #fff; background: transparent; border: 0; padding: .5rem 0; text-decoration: underline; font: inherit; cursor: pointer; }
.privacy-wrap details { margin-top: .75rem; max-width: 68rem; scroll-margin-top: 7rem; }
.privacy-wrap summary { cursor: pointer; }
.privacy-wrap p { margin: 1rem 0; line-height: 1.65; }
.privacy-wrap a { color: #fff; text-decoration: underline; }
.analytics-choice :focus-visible, .privacy-wrap :focus-visible { outline: 3px solid #78a7f5; outline-offset: 3px; }

.privacy-wrap { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.cookie-preferences { margin: 2rem 0 3rem; padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid #b9c6d8; border-radius: .5rem; background: #f3f6fb; scroll-margin-top: 7rem; }
.cookie-preferences h2 { margin-top: 0; }
.cookie-category { display: flex; gap: 1.5rem; justify-content: space-between; align-items: start; padding: 1.2rem 0; border-top: 1px solid #b9c6d8; }
.cookie-category > div:first-child { flex: 1; }
.cookie-category p { margin: .5rem 0 0; }
.cookie-control { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; min-width: 10rem; max-width: 13rem; padding: .5rem 0; font-size: 1rem; }
.cookie-control input { appearance: none; width: 3rem; height: 1.7rem; border: 2px solid #52647c; border-radius: 2rem; background: #fff; cursor: pointer; margin: 0; position: relative; flex-shrink: 0; }
.cookie-control input::before { content: ''; position: absolute; top: .15rem; left: .15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #52647c; }
.cookie-control input:checked { background: #214e89; border-color: #214e89; }
.cookie-control input:checked::before { left: 1.4rem; background: #fff; }
.cookie-control input:disabled { cursor: default; opacity: .7; }
.cookie-category-note { font-size: 1rem; color: #33465e; padding-top: .5rem; }
.cookie-preferences :focus-visible { outline: 3px solid #214e89; outline-offset: 4px; }
.owner-preferences { margin-top: 1rem; }
.owner-preferences summary { cursor: pointer; color: #214e89; }
@media (max-width: 600px) { .cookie-category { flex-direction: column; gap: .5rem; } .cookie-control { max-width: none; } }
@media (forced-colors: active) { .cookie-control input { appearance: auto; } .cookie-control input::before { display: none; } }
