.analytics-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding: 0; font-size: 12px; line-height: 1.6; color: #6f6962; }
.site-footer .analytics-settings { grid-column: 2; min-width: 0; justify-self: start; }
.analytics-settings button, .analytics-consent button { font: inherit; cursor: pointer; }
.analytics-settings button, .analytics-settings a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: inherit; line-height: inherit; white-space: nowrap; color: inherit; text-decoration: none; }
.analytics-settings button { background: none; border: 0; }
.analytics-settings button:hover, .analytics-settings a:hover { color: #263238; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent a { color: #164e63; text-decoration: underline; }
.analytics-consent { position: fixed; inset: auto 0 0; z-index: 10000; max-height: 70dvh; overflow-y: auto; padding: 1.25rem max(1.25rem, calc((100vw - 60rem) / 2)); background: #fff; color: #263238; box-shadow: 0 -2px 16px #0003; font-family: sans-serif; font-size: .9rem; line-height: 1.7; }
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { font-size: 1rem; margin: 0 0 .5rem; color: #263238; }
.analytics-consent p { margin: .5rem 0; }
.analytics-consent div { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.analytics-consent button { border: 1px solid #455a64; padding: .55rem 1.25rem; border-radius: .4rem; background: #fff; color: #263238; }
.analytics-consent button[data-choice=allow] { background: #263238; color: #fff; }
.analytics-settings button:focus-visible, .analytics-settings a:focus-visible, .analytics-consent button:focus-visible { outline: 3px solid #0891b2; outline-offset: 3px; }
@media (max-width: 620px) {
  .site-footer .analytics-settings { grid-column: 1; }
}
