form[data-lead-form] .xx-form-consent {
  display: block !important;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 10px 0 0;
  padding: 0;
  color: #666;
  text-align: left;
  font-size: 12px;
  line-height: 1.8;
}
form[data-lead-form] .xx-form-consent .xx-consent-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  width: 100% !important;
  min-height: 44px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 8px 4px !important;
  color: #666;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8;
  vertical-align: middle;
  cursor: pointer;
  touch-action: manipulation;
}
form[data-lead-form] .xx-form-consent input[name="privacy_consent"] {
  display: inline-block !important;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 3px;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #d71920;
  vertical-align: middle;
  cursor: pointer;
}
form[data-lead-form] .xx-form-consent button[data-xx-policy] {
  all: unset;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  margin: 0;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #b71920;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  touch-action: manipulation;
}
form[data-lead-form] .xx-form-consent button[data-xx-policy]:hover {
  color: #8e1116;
  text-decoration: underline;
}
form[data-lead-form] .xx-form-consent .xx-consent-purpose,
form[data-lead-form] .xx-consent-error {
  margin: 4px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 400;
}
form[data-lead-form] .xx-form-consent .xx-consent-purpose { color: #777; }
form[data-lead-form] .xx-consent-error { color: #b71920; }
form[data-lead-form] .xx-consent-error[hidden] { display: none !important; }
form[data-lead-form] .xx-form-consent button[data-xx-policy]:focus-visible,
form[data-lead-form] .xx-form-consent input[name="privacy_consent"]:focus-visible,
html body .xx-policy-dialog button:focus-visible,
.xx-policy-content:focus-visible { outline: 2px solid #b71920; outline-offset: 3px; }
html body .xx-policy-dialog {
  display: none;
  position: fixed;
  inset: 0;
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: 78vh;
  max-height: min(78vh, 680px);
  max-height: min(78dvh, 680px);
  margin: auto;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #333;
  font: 14px/1.85 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  text-align: left;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .18);
}
html body .xx-policy-dialog[open] { display: flex; flex-direction: column; }
.xx-policy-dialog::backdrop { background: rgba(0, 0, 0, .48); }
html body .xx-policy-dialog .xx-policy-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}
html body .xx-policy-dialog .xx-policy-title {
  margin: 0;
  padding: 0;
  color: #222;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
html body .xx-policy-dialog .xx-policy-close {
  all: unset;
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -6px -8px -6px 0;
  border-radius: 50%;
  color: #555;
  font: 30px/1 sans-serif;
  cursor: pointer;
}
html body .xx-policy-dialog .xx-policy-close:hover { background: #f5f5f5; }
html body .xx-policy-dialog .xx-policy-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px 24px;
  white-space: normal;
  word-break: break-word;
}
html body .xx-policy-dialog .xx-policy-heading {
  margin: 18px 0 8px;
  padding: 0;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
html body .xx-policy-dialog .xx-policy-heading:first-child { margin-top: 0; }
html body .xx-policy-dialog .xx-policy-paragraph,
html body .xx-policy-dialog .xx-policy-status {
  margin: 0 0 12px;
  padding: 0;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  white-space: pre-line;
}
html body .xx-policy-dialog .xx-policy-status-error { color: #b71920; }
html body .xx-policy-dialog .xx-policy-retry {
  all: unset;
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #b71920;
  font-size: 14px;
  cursor: pointer;
}
html body .xx-policy-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(0, 0, 0, .48);
}
html body .xx-policy-backdrop[hidden] { display: none !important; }
html body .xx-policy-dialog.xx-policy-fallback { z-index: 2147483647; }
@media (max-width: 480px) {
  html body .xx-policy-dialog .xx-policy-header { padding: 16px; }
  html body .xx-policy-dialog .xx-policy-content { padding: 16px 16px 20px; }
  html body .xx-policy-dialog .xx-policy-title { font-size: 18px; }
}
