.pedigree-consent[hidden] { display: none; }
.pedigree-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 10020;
  left: 20px;
  bottom: 20px;
  width: min(520px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #cad8df;
  border-top: 4px solid #00617c;
  border-radius: 8px;
  background: #fff;
  color: #192c36;
  box-shadow: 0 8px 28px #112c3a33;
  font: 15px/1.5 Arial, sans-serif;
}
.pedigree-consent h2 { margin: 0 0 8px; color: #192c36; font: 700 20px/1.3 Arial, sans-serif; }
.pedigree-consent p { margin: 0 0 14px; color: #192c36; }
.pedigree-consent a { color: #005970; text-decoration: underline; }
.pedigree-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pedigree-consent button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #00617c;
  border-radius: 5px;
  background: #fff;
  color: #005970;
  cursor: pointer;
  font: 700 14px/1.3 Arial, sans-serif;
}
.pedigree-consent button[data-consent="allow"], .pedigree-consent button[data-consent="save"] { background: #00617c; color: #fff; }
.pedigree-consent :focus-visible, .pedigree-consent-preferences:focus-visible { outline: 3px solid #142f42; outline-offset: 3px; }
.pedigree-consent--dialog { inset: 0; margin: auto; }
.pedigree-consent--dialog:not([open]) { display: none; }
.pedigree-consent--dialog::backdrop { background: #061b2a99; }
.pedigree-consent--dialog label { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.pedigree-consent--dialog input { width: 20px; height: 20px; accent-color: #00617c; }
.pedigree-consent-preferences { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 0 12px; padding: 2px 6px; border: 0!important; border-radius: 0; background: transparent!important; box-shadow: none!important; color: inherit!important; font: inherit; font-size: 13px; text-transform: none; text-decoration: underline; cursor: pointer; vertical-align: middle; }
.pedigree-consent-preferences:focus-visible { outline-color: #ffd07c; }
@media (max-width: 700px) {
  .pedigree-consent:not(.pedigree-consent--dialog) { left: 12px; bottom: 20px; width: calc(100% - 24px); max-height: calc(100dvh - 40px); padding: 16px; }
}
