.pm-consent,
.pm-consent-overlay,
.pm-consent-settings {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pm-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1rem;
  color: #171717;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .2);
  border-radius: 1rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
}

.pm-consent strong,
.pm-consent-dialog h2 { color: #171717; }
.pm-consent p { margin: .25rem 0 0; color: #525252; font-size: .9rem; line-height: 1.45; }
.pm-consent a { color: inherit; text-decoration: underline; }
.pm-consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem; }

.pm-consent-button,
.pm-consent-settings {
  appearance: none;
  border: 1px solid #262626;
  border-radius: .65rem;
  padding: .7rem .9rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pm-consent-button--primary { color: #fff; background: #262626; }
.pm-consent-button--secondary { color: #262626; background: #fff; }
.pm-consent-button--quiet { color: #525252; background: transparent; border-color: transparent; text-decoration: underline; }
.pm-consent-button:focus-visible,
.pm-consent-settings:focus-visible { outline: 3px solid #7c3aed; outline-offset: 2px; }

.pm-consent-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 10, 10, .58);
}

.pm-consent-dialog {
  width: min(100%, 34rem);
  padding: 1.4rem;
  color: #404040;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.pm-consent-dialog h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.pm-consent-dialog > p { margin: 0 0 1rem; line-height: 1.5; }
.pm-consent-option { display: flex; gap: .75rem; padding: .9rem 0; border-top: 1px solid #e5e5e5; }
.pm-consent-option input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: #262626; }
.pm-consent-option span { display: grid; gap: .2rem; }
.pm-consent-option strong { color: #171717; }
.pm-consent-option small { color: #666; line-height: 1.4; }
.pm-consent-dialog .pm-consent-actions { margin-top: 1rem; }

.pm-consent-settings {
  position: fixed;
  z-index: 9999;
  right: .75rem;
  bottom: .75rem;
  padding: .55rem .7rem;
  color: #404040;
  background: rgba(255, 255, 255, .95);
  border-color: rgba(23, 23, 23, .25);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

@media (max-width: 720px) {
  .pm-consent { align-items: stretch; flex-direction: column; }
  .pm-consent-actions { justify-content: stretch; }
  .pm-consent-actions .pm-consent-button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pm-consent *, .pm-consent-overlay * { scroll-behavior: auto !important; }
}
