.cookie-preferences[hidden] { display: none; }
.cookie-preferences {
  position: fixed;
  z-index: 1000;
  inset: auto 1rem 1rem;
  box-sizing: border-box;
  max-width: 52rem;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  margin-inline: auto;
  padding: 1.5rem;
  color: #102b39;
  background: #f5f8f6;
  border: 2px solid #102b39;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 2rem #102b3926;
  font: 1rem/1.5 system-ui, sans-serif;
}
.cookie-preferences h2 { margin: 0 0 0.75rem; font: 600 1.25rem/1.3 system-ui, sans-serif; color: inherit; }
.cookie-preferences p { margin: 0 0 1rem; color: inherit; font: inherit; }
.cookie-preferences a { color: #3454d9; text-decoration: underline; }
.cookie-preferences-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-preferences button {
  flex: 1 1 12rem;
  min-height: 44px;
  padding: 0.75rem;
  border: 1px solid #3454d9;
  border-radius: 0.25rem;
  color: #3454d9;
  background: #f5f8f6;
  font: inherit;
  cursor: pointer;
}
.cookie-preferences button:focus-visible,
.cookie-preferences a:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid #3454d9;
  outline-offset: 3px;
}
.cookie-settings-link { display: inline-block; }
.cookie-notice-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cookie-notice-table th, .cookie-notice-table td { padding: 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid #dce4e4; overflow-wrap: anywhere; }
.cookie-notice-scroll { max-width: 100%; overflow-x: auto; }
