/* UD-Vet staging only. MU00's fixed test notice remains visible above this UI. */
body.vb-preview-consent-open { padding-bottom: var(--vb-consent-reserve, 0px) !important; }
body.vb-preview-consent-dialog-open { overflow: hidden; }
.vb-preview-consent,
.vb-preview-consent-reopen { --vb-navy: #142338; --vb-green: #188541; --vb-test: var(--vb-preview-test-height, 40px); font-family: 'Open Sans', sans-serif; }
.vb-preview-consent * { box-sizing: border-box; }
.vb-preview-consent [hidden],
.vb-preview-consent-reopen[hidden] { display: none !important; }
.vb-preview-consent button,
.vb-preview-consent-reopen { cursor: pointer; }
.vb-preview-consent button:focus-visible,
.vb-preview-consent input:focus-visible,
.vb-preview-consent-reopen:focus-visible { outline: 3px solid #148447; outline-offset: 3px; }
.vb-preview-consent-notice {
  position: fixed;
  z-index: 2147483645;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(var(--vb-test) + var(--vb-preview-toolbar-height, 0px) + 12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  max-height: calc(100vh - var(--vb-test) - var(--vb-preview-toolbar-height, 0px) - 24px);
  max-height: calc(100dvh - var(--vb-test) - var(--vb-preview-toolbar-height, 0px) - 24px);
  margin: 0 auto;
  padding: 18px 22px;
  overflow-y: auto;
  background: #fff;
  color: var(--vb-navy);
  border: 1px solid #cbd9d0;
  border-radius: 16px;
  box-shadow: 0 12px 42px rgba(20,35,56,.22);
}
.vb-preview-consent h2 { color: var(--vb-navy); font-family: 'Work Sans', sans-serif; font-size: 1.18rem; line-height: 1.25; margin: 0 0 .45rem; }
.vb-preview-consent p { font-size: .9rem; line-height: 1.55; margin: 0; }
.vb-preview-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-preview-consent-choice {
  flex: 1 1 46%;
  min-height: 46px;
  padding: .7rem .9rem;
  border: 2px solid var(--vb-navy);
  border-radius: 9px;
  background: var(--vb-navy);
  color: #fff;
  font: 700 .9rem/1.25 'Open Sans', sans-serif;
  text-align: center;
}
.vb-preview-consent-choice:hover { border-color: #0e6433; background: #0e6433; }
.vb-preview-consent-settings-link {
  flex: 1 1 100%;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--vb-navy);
  font: 700 .9rem/1.25 'Open Sans', sans-serif;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.vb-preview-consent-modal {
  position: fixed;
  z-index: 2147483646;
  inset: 0 0 calc(var(--vb-test) + var(--vb-preview-toolbar-height, 0px)) 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(10,22,36,.62);
}
.vb-preview-consent-panel {
  position: relative;
  width: min(100%, 580px);
  max-height: calc(100vh - var(--vb-test) - var(--vb-preview-toolbar-height, 0px) - 32px);
  max-height: calc(100dvh - var(--vb-test) - var(--vb-preview-toolbar-height, 0px) - 32px);
  overflow-y: auto;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 18px;
  background: #fff;
  color: var(--vb-navy);
  box-shadow: 0 16px 52px rgba(0,0,0,.2);
}
.vb-preview-consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #ecf3ee;
  color: var(--vb-navy);
  font: 700 1.6rem/1 sans-serif;
}
.vb-preview-consent-panel > p { margin-bottom: 1.2rem; padding-right: 1rem; }
.vb-preview-consent-option { padding: .9rem 0; border-top: 1px solid #dce5df; }
.vb-preview-consent-option label { display: flex; align-items: center; gap: .7rem; font-weight: 750; }
.vb-preview-consent-option input { width: 19px; height: 19px; margin: 0; accent-color: var(--vb-green); }
.vb-preview-consent-option p { padding: .35rem 0 0 1.65rem; color: #425365; }
.vb-preview-consent-panel .vb-preview-consent-actions { padding-top: 1rem; }
.vb-preview-consent-reopen {
  display: inline-block;
  margin: .4rem 0;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 600 .85rem/1.4 'Open Sans', sans-serif;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (max-width: 680px) {
  .vb-preview-consent-notice { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .vb-preview-consent-choice { flex-basis: 100%; }
  .vb-preview-consent-panel { padding: 22px 18px; }
}
