.consent-banner {
  position: fixed;
  z-index: 10000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid rgba(12, 67, 59, .22);
  border-radius: 1rem;
  background: #fffdf9;
  color: #173b35;
  box-shadow: 0 1rem 3rem rgba(22, 46, 41, .18);
}
.consent-banner h2, .consent-dialog h2 { margin: 0 0 .45rem; font-size: 1.2rem; }
.consent-banner p, .consent-dialog p { margin: 0; line-height: 1.55; }
.consent-banner a { color: inherit; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
.consent-actions button, .privacy-settings-link {
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.consent-actions button { padding: .72rem 1rem; border: 1px solid #0c594c; }
.consent-primary { background: #0c594c; color: #fff; }
.consent-secondary { background: transparent; color: #0c594c; }
.consent-dialog-backdrop {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 28, 25, .58);
}
.consent-dialog {
  width: min(100%, 38rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fffdf9;
  color: #173b35;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .25);
}
.consent-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(12, 67, 59, .18);
  border-radius: .75rem;
}
.consent-option span { display: grid; gap: .25rem; }
.consent-option small { line-height: 1.4; }
.consent-option input { width: 1.25rem; height: 1.25rem; accent-color: #0c594c; }
.consent-note { margin: 1rem 0 !important; font-size: .9rem; }
.privacy-settings-link {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 720px) {
  .consent-banner { grid-template-columns: 1fr; }
  .consent-actions { justify-content: stretch; }
  .consent-actions button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-banner, .consent-dialog { scroll-behavior: auto; }
}
