/* Fixed-position consent UI does not participate in page layout or cause CLS. */
.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  width: min(720px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(20, 24, 33, .18);
  border-radius: 16px;
  background: #fff;
  color: #141821;
  box-shadow: 0 20px 60px rgba(20, 24, 33, .22);
  font: 400 15px/1.45 Georgia, "Times New Roman", serif;
}
.analytics-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}
.analytics-consent__copy p {
  margin: 0;
  color: #525b6b;
}
.analytics-consent a {
  color: #0e47a1;
  text-underline-offset: 2px;
}
.analytics-consent__settings {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f2f5f9;
}
.analytics-consent__settings[hidden] { display: none; }
.analytics-consent__settings label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  cursor: pointer;
}
.analytics-consent__settings input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0e47a1;
}
.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.analytics-consent__button,
.analytics-consent-link {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #ccd3df;
  border-radius: 10px;
  background: #fff;
  color: #141821;
  font: 700 14px/1.2 Georgia, "Times New Roman", serif;
  cursor: pointer;
}
.analytics-consent__button--primary {
  border-color: #0e47a1;
  background: #0e47a1;
  color: #fff;
}
.analytics-consent__button--link {
  border-color: transparent;
  color: #0e47a1;
}
.analytics-consent__button:focus-visible,
.analytics-consent-link:focus-visible {
  outline: 3px solid rgba(14, 71, 161, .28);
  outline-offset: 2px;
}
.analytics-consent-link {
  min-height: 0;
  margin: 8px 0 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 760px) {
  .analytics-consent {
    right: 10px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 15px;
  }
  .analytics-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent__button--link { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .analytics-consent { animation: analytics-consent-in .24s ease-out both; }
}
@keyframes analytics-consent-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
