/* Privacy controls are scoped to cdp-consent-* and never load external resources. */
.cdp-consent-banner,
.cdp-consent-dialog,
.cdp-consent-status {
  box-sizing: border-box;
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  color: #183449;
}
.cdp-consent-banner *,
.cdp-consent-dialog * { box-sizing: border-box; }
.cdp-consent-banner[hidden] { display: none; }
.cdp-consent-banner {
  position: fixed;
  z-index: 70;
  left: max(20px, env(safe-area-inset-left));
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: 1080px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin-inline: auto;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #c6d4df;
  border-top: 3px solid #c38b28;
  border-radius: 8px;
  box-shadow: 0 8px 44px #10294026;
}
.cdp-consent-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .08em;
  color: #315982;
}
.cdp-consent-banner h2 {
  margin: 0 0 7px;
  font: 600 19px/1.3 var(--sans, "DM Sans", system-ui, sans-serif);
  letter-spacing: -.025em;
  color: #183449;
}
.cdp-consent-banner p,
.cdp-consent-dialog p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #526576;
}
.cdp-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.cdp-consent-button {
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid #315982;
  border-radius: 4px;
  color: #254a7b;
  background: #fff;
  font: 600 12px/1.5 var(--sans, "DM Sans", system-ui, sans-serif);
  text-align: center;
  cursor: pointer;
}
.cdp-consent-button:hover { background: #edf3f8; }
.cdp-consent-settings { grid-column: 1 / -1; }
.cdp-consent-button:focus-visible,
.cdp-consent-close:focus-visible,
.cdp-consent-dialog input:focus-visible,
[data-open-consent]:focus-visible {
  outline: 3px solid #b87914;
  outline-offset: 3px;
}
.cdp-consent-dialog {
  position: fixed;
  inset: 0;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 34px;
  margin: auto;
  overflow: auto;
  border: 1px solid #c6d4df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 80px #0e243a40;
}
.cdp-consent-dialog::backdrop { background: #1029409e; }
.cdp-consent-dialog h2 {
  margin: 12px 34px 16px 0;
  font: 500 36px/1.08 var(--serif, "Cormorant Garamond", Georgia, serif);
  letter-spacing: -.025em;
  color: #183449;
}
.cdp-consent-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  color: #254a7b;
  font: 300 30px/1 system-ui, sans-serif;
  cursor: pointer;
}
.cdp-consent-close:hover { background: #edf3f8; }
.cdp-consent-notice {
  padding: 15px 17px;
  margin: 20px 0 8px;
  background: #f0f4f7;
  border-left: 2px solid #c38b28;
}
.cdp-consent-notice strong { display: block; font-size: 13px; margin-bottom: 4px; }
.cdp-consent-notice p { font-size: 12px; }
.cdp-consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #d8e1e8;
}
.cdp-consent-category h3,
.cdp-consent-category label {
  display: block;
  margin: 0 0 6px;
  color: #183449;
  font: 600 15px/1.4 var(--sans, "DM Sans", system-ui, sans-serif);
}
.cdp-consent-category label { cursor: pointer; }
.cdp-consent-category p { font-size: 12px; }
.cdp-consent-required {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  color: #315982;
}
.cdp-consent-dialog input[type=checkbox] {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
  accent-color: #254a7b;
  cursor: pointer;
}
.cdp-consent-category label.cdp-consent-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
}
.cdp-consent-dialog p.cdp-consent-retention { margin: 18px 0 22px; font-size: 11px; }
.cdp-consent-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cdp-consent-save { grid-column: 1 / -1; background: #254a7b; color: #fff; }
.cdp-consent-save:hover { background: #183c68; }
.cdp-consent-status {
  position: fixed;
  z-index: 80;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  right: 20px;
  max-width: 580px;
  margin-inline: auto;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
  pointer-events: none;
}
.cdp-consent-status-visible {
  padding: 16px 20px;
  color: #fff;
  background: #183449;
  border-radius: 5px;
  box-shadow: 0 8px 28px #10294026;
}
.cdp-consent-footer-button,
.consent-settings-link {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
@media (max-width: 800px) {
  .cdp-consent-banner { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .cdp-consent-actions { grid-template-columns: 1fr 1fr 1fr; }
  .cdp-consent-settings { grid-column: auto; }
}
@media (max-width: 550px) {
  body.cdp-consent-visible .mobile-contact { visibility: hidden; }
  .cdp-consent-banner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 20px; gap: 15px; }
  .cdp-consent-banner h2 { font-size: 17px; }
  .cdp-consent-banner p { font-size: 12px; }
  .cdp-consent-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cdp-consent-settings { grid-column: 1 / -1; }
  .cdp-consent-button { font-size: 11px; padding: 10px; }
  .cdp-consent-dialog { padding: 28px 22px; max-height: calc(100dvh - 24px); }
  .cdp-consent-dialog h2 { font-size: 31px; }
  .cdp-consent-category { gap: 12px; }
  .cdp-consent-required { font-size: 9px; }
  .cdp-consent-status { bottom: 80px; font-size: 12px; }
}
