/* embedded-proxy-launch-dg-head-style:fallback */
/* legal-approved: Reject All hidden via CSS (product decision). */
/* Language row hidden to match Figma (single-locale UX). */
/* :not(.dg-modal) — bar only; do not style Customize Your Cookie Choices layer (DataGrail adds .dg-modal on host). */
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) {
  --weee-dg-text: #52667d;
  --weee-dg-link: #027fff;
  --weee-dg-primary: var(--brand-secondary-color, #001ba5);
  --weee-dg-primary-border: #c6e5ff;
  --dg-text-margin: 12px;
  /* Figma node 3061:18773 — Poppins Regular for secondary copy (12px body + link in frame) */
  --dg-secondary-font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  --dg-secondary-font-weight: 400 !important;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-header {
  display: none !important;
}
:host(.dg-consent-banner.dg-right:not(.dg-modal)) .dg-main-content-explanation.dg-text-body {
  margin: 0px !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.reject_all {
  display: none !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-main-language-dropdown {
  display: none !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-app {
  box-sizing: border-box !important;
  background: #ffffff !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) p.dg-main-content-explanation.dg-text-body {
  margin: 0 !important;
  color: var(--weee-dg-text) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-link {
  color: var(--weee-dg-link) !important;
  font-size: 12px !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.accept_all {
  background: var(--weee-dg-primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--weee-dg-primary) !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
:host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.open_layer {
  background: #ffffff !important;
  color: var(--weee-dg-primary) !important;
  border: 1px solid var(--weee-dg-primary-border) !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
@media only screen and (max-width: 614px) {
  /* Figma: mobile consent shell 162:46277; body/link type 162:46278 */
  :host(.dg-consent-banner.dg-right:not(.dg-modal)),
  :host(.dg-consent-banner.dg-left:not(.dg-modal)) {
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    inset: auto 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-app {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(112px, min(38vw, 148px)) !important;
    grid-template-rows: auto auto !important;
    column-gap: 16px !important;
    row-gap: 0px !important;
    align-items: start !important;
    padding: 13.58px 12.6px calc(16px + env(safe-area-inset-bottom, 0px)) 12.6px !important;
    border-radius: 28px 28px 0 0 !important;
    border: none !important;
    box-shadow:
      0 -8px 32px rgba(0, 27, 101, 0.08),
      0 -2px 8px rgba(0, 0, 0, 0.06) !important;
    max-height: 90vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) p.dg-main-content-explanation.dg-text-body {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
    max-width: none !important;
    padding: 0 !important;
    /* Figma 162:46278 — compact legal: regular, near-black, tight leading */
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #333333 !important;
    -webkit-font-smoothing: antialiased !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-links {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: -8px !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-link {
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: var(--weee-dg-link) !important;
    -webkit-font-smoothing: antialiased !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.accept_all {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 37px !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.open_layer {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 37px !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-top: 44px !important;
  }
}
@media only screen and (min-width: 615px) {
  :host(.dg-consent-banner.dg-right:not(.dg-modal)) {
    width: auto !important;
    max-width: 280px !important;
    right: 16px !important;
    bottom: 16px !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
  }
  :host(.dg-consent-banner.dg-right:not(.dg-modal)) .dg-main-content-explanation.dg-text-body {
    grid-column: 1 / -1 !important;
    color: var(--color-surface-100-fg-minor, #52667D);
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.12px;
  }
  :host(.dg-consent-banner.dg-left:not(.dg-modal)) {
    width: auto !important;
    max-width: 280px !important;
    left: 16px !important;
    bottom: 16px !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-app {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0px 7px !important;
    padding: 16px 16px !important;
    max-width: 280px !important;
    border-radius: 16px !important;
    /* Figma 3061:18773 — hairline (color-surface-100-hairline); frame has no heavy stroke, edge for contrast on light UI */
    border: 1px solid #e4eaf5 !important;
    /* elevation/4 — color-tint/black/25: blur 6 @ (0,0); blur 12 @ (0,2px) */
    box-shadow:
      0 0 6px 0 rgba(0, 0, 0, 0.05),
      0 2px 12px 0 rgba(0, 0, 0, 0.05) !important;
    max-height: 90vh !important;
    overflow: auto !important;
    align-items: stretch !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) p.dg-main-content-explanation.dg-text-body {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-links {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
    margin-top: 2px !important;
    padding: 0 !important;
    line-height: 1.25 !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.accept_all,
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.open_layer {
    grid-row: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    justify-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.open_layer {
    grid-column: 1 !important;
  }
  :host(.dg-consent-banner:not(.dg-modal):not(.dg-bottom)) .dg-button.accept_all {
    grid-column: 2 !important;
  }
}