/* Cookie banner. Uses the tokens in styles.css. Accept and reject share one
   style on purpose: neither choice is made easier than the other. */
.consent {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent__inner {
  pointer-events: auto;
  max-width: 40rem;
  width: 100%;
  background: var(--card, #fff);
  color: var(--ink, #0D1B2A);
  border: 1px solid var(--paper-edge, #d5dae9);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(13, 27, 42, 0.18);
  padding: 1.25rem 1.25rem 1rem;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.5;
}
.consent__title { font-weight: 700; font-size: 1rem; margin: 0 0 0.35rem; }
.consent__text { margin: 0; color: var(--ink-soft, #33475E); }
.consent__text a { color: var(--accent-ink, #1F5FBF); text-decoration: underline; }
.consent__options { display: grid; gap: 0.4rem; margin-top: 0.85rem; }
.consent__opt { display: flex; gap: 0.5rem; align-items: center; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; align-items: center; }
.consent__btn {
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--ink, #0D1B2A);
  background: var(--ink, #0D1B2A);
  color: #fff;
  cursor: pointer;
}
.consent__link {
  font: inherit;
  background: none;
  border: 0;
  color: var(--accent-ink, #1F5FBF);
  text-decoration: underline;
  cursor: pointer;
  padding: 0.55rem 0.25rem;
}
.consent__btn:focus-visible, .consent__link:focus-visible { outline: 2px solid var(--accent, #4C8DFF); outline-offset: 2px; }
.cookie-settings {
  font: inherit;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
@media print { .consent { display: none; } }
.consent [hidden], [data-cookie-settings-wrap][hidden] { display: none !important; }
