.cfm-consent {
  position: fixed;
  z-index: 10000;
  inset: auto 20px 20px auto;
  width: min(480px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #c5d0e0;
  border-radius: 16px;
  background: #fff;
  color: #172b49;
  box-shadow: 0 8px 36px #172b4924;
  font: 400 16px/1.6 system-ui, sans-serif;
}
.cfm-consent[hidden], .cfm-consent-settings[hidden] { display: none !important; }
.cfm-consent h2 { margin: 0 0 8px; color: inherit; font: 600 20px/1.3 system-ui, sans-serif; letter-spacing: normal; }
.cfm-consent p { margin: 0 0 16px; color: inherit; font: inherit; }
.cfm-consent-choice, .cfm-consent-settings {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #546781;
  border-radius: 8px;
  background: #fff;
  color: #172b49;
  font: 600 16px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.cfm-consent-choice { margin: 4px 8px 0 0; }
.cfm-consent-choice:hover, .cfm-consent-settings:hover { background: #edf2f8; }
.cfm-consent-choice:focus-visible, .cfm-consent-settings:focus-visible { outline: 3px solid #1262d5; outline-offset: 3px; }
.cfm-consent-settings { position: fixed; z-index: 9999; bottom: 12px; left: 12px; box-shadow: 0 2px 12px #172b491a; }
@media (max-width: 480px) {
  .cfm-consent { inset: auto 12px 12px; width: auto; padding: 20px; max-height: calc(100dvh - 24px); }
  .cfm-consent-choice { display: block; width: 100%; margin: 8px 0 0; }
}
