/* DPB wrapper UI only. Every rule is scoped to the enhanced consent controls. */
body .ig-consent-panel[data-dpb-ui] {
  box-sizing:border-box!important; position:fixed!important; inset:auto var(--dpb-visible-right,0px) var(--dpb-visible-bottom,0px) var(--dpb-visible-left,0px)!important;
  width:auto!important; max-width:none!important; margin:0!important;
  border:0!important; border-top:2px solid #172a36!important; border-radius:0!important;
  padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px))!important;
  font:14px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  color:#172a36!important; background:#ffffff!important; text-align:left!important;
  z-index:2147483646!important; max-height:78vh!important; max-height:var(--dpb-visible-height,78dvh)!important;
  overflow:auto!important; box-shadow:0 -3px 18px #0002!important;
}
body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="false"] {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 24px; align-items:center;
}
body .ig-consent-panel[data-dpb-ui] .dpb-consent-summary {min-width:0;max-width:65ch}
body .ig-consent-panel[data-dpb-ui] .dpb-consent-summary p {font:inherit!important;color:#172a36!important;margin:0!important}
body .ig-consent-panel[data-dpb-ui] a {color:#164b86!important;text-decoration:underline!important;font-size:13px!important;line-height:1.4!important}
body .ig-consent-panel[data-dpb-ui] .dpb-consent-details {max-width:70rem;margin:0 auto 10px}
body .ig-consent-panel[data-dpb-ui] h2 {font:600 20px/1.3 system-ui,sans-serif!important;color:#172a36!important;margin:0 0 8px!important}
body .ig-consent-panel[data-dpb-ui] .dpb-consent-details p {font:inherit!important;color:#172a36!important;margin:8px 0!important}
body .ig-consent-panel[data-dpb-ui] fieldset {box-sizing:border-box!important;min-width:0!important;margin:12px 0!important;padding:10px!important;border:1px solid #687783!important}
body .ig-consent-panel[data-dpb-ui] legend {font:600 14px/1.4 system-ui,sans-serif!important;color:#172a36!important}
body .ig-consent-panel[data-dpb-ui] label {font:14px/1.45 system-ui,sans-serif!important;color:#172a36!important;display:block!important;margin:8px 0!important}
body .ig-consent-panel[data-dpb-ui] input[type="checkbox"] {appearance:auto!important;position:static!important;opacity:1!important;width:18px!important;height:18px!important;margin:0 8px 0 0!important;vertical-align:middle!important;accent-color:#172a36}
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions {display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;margin:0!important;padding:0!important}
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions button,
/* State resets must not outrank decision sizing or the mobile font/padding. */
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions button:where(:hover,:focus,:active) {
  box-sizing:border-box!important;appearance:none!important;position:relative!important;
  font:600 14px/1.3 system-ui,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;
  color:#ffffff!important;background:#172a36!important;background-image:none!important;
  border:2px solid #172a36!important;border-radius:4px!important;min-height:44px!important;
  min-width:0!important;max-width:100%!important;width:auto!important;height:auto!important;
  margin:0!important;padding:9px 14px!important;white-space:normal!important;cursor:pointer!important;
  opacity:1;visibility:visible!important;text-shadow:none!important;box-shadow:none;
}
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions .dpb-consent-decision {min-width:94px!important;flex:1 0 94px!important}
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions .dpb-consent-manage,
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions .dpb-consent-manage:is(:hover,:focus,:active) {color:#172a36!important;background:#ffffff!important}
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions button:disabled {opacity:.65!important;cursor:wait!important}
body .ig-consent-panel[data-dpb-ui] button::before,body .ig-consent-panel[data-dpb-ui] button::after,
body .ig-consent-reopen[data-dpb-ui]::before,body .ig-consent-reopen[data-dpb-ui]::after {content:none!important;display:none!important}
body .ig-consent-panel[data-dpb-ui] [role="status"] {grid-column:1/-1;font:inherit!important;color:#172a36!important;margin:0!important}
body .ig-consent-panel[data-dpb-ui] [role="status"]:empty {display:none!important}
body .ig-consent-panel[data-dpb-ui] .ig-consent-gpc {grid-column:1/-1;order:1}
body .ig-consent-panel[data-dpb-ui] .ig-consent-gpc p {margin:0}
body .ig-consent-panel[data-dpb-ui] .ig-consent-gpc summary {cursor:pointer;text-decoration:underline}
body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions {position:sticky!important;bottom:-12px!important;background:#ffffff!important;padding:8px 0!important}
body .ig-consent-reopen[data-dpb-ui],body .ig-consent-reopen[data-dpb-ui]:is(:hover,:focus,:active) {
  box-sizing:border-box!important;position:fixed!important;inset:auto calc(12px + var(--dpb-visible-right,0px)) calc(88px + env(safe-area-inset-bottom,0px) + var(--dpb-visible-bottom,0px)) auto!important;
  display:grid!important;place-items:center!important;gap:2px!important;
  width:56px!important;min-width:56px!important;max-width:56px!important;height:56px!important;min-height:56px!important;max-height:56px!important;
  margin:0!important;padding:5px!important;border:2px solid #ffffff!important;border-radius:8px!important;
  color:#ffffff!important;background-color:#172a36!important;background-image:none!important;
  opacity:1!important;visibility:visible!important;cursor:pointer!important;z-index:2147483646!important;
  font:600 11px/1 system-ui,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;text-shadow:none!important;
  box-shadow:0 2px 10px #0005!important;transform:none!important;overflow:visible!important;
}
body .ig-consent-reopen[data-dpb-ui] svg {display:block!important;width:25px!important;height:25px!important;color:#ffffff!important;opacity:1!important;visibility:visible!important}
body .ig-consent-reopen[data-dpb-ui] svg path {fill:none!important;stroke:#ffffff!important;stroke-width:1.8!important}
body .ig-consent-reopen[data-dpb-ui] svg circle {fill:#ffffff!important;stroke:none!important}
body .ig-consent-reopen[data-dpb-ui] span {display:block!important;font:600 11px/1 system-ui,sans-serif!important;color:#ffffff!important;opacity:1!important;visibility:visible!important}
body .ig-consent-panel[data-dpb-ui] :focus-visible,body .ig-consent-reopen[data-dpb-ui]:focus {outline:3px solid #005fcc!important;outline-offset:3px!important}
body .ig-consent-panel[data-dpb-ui][hidden],body .ig-consent-panel[data-dpb-ui] [hidden],
body .ig-consent-reopen[data-dpb-ui][hidden],body .ig-consent-panel[data-dpb-ui]:not([hidden]) + .ig-consent-reopen[data-dpb-ui] {display:none!important}
@media(max-width:760px) {
  body .ig-consent-panel[data-dpb-ui] {padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important}
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="false"] {grid-template-columns:minmax(0,1fr);gap:8px}
  body .ig-consent-panel[data-dpb-ui] .dpb-consent-summary {max-width:none}
  body .ig-consent-panel[data-dpb-ui] .ig-consent-actions button {font-size:13px!important;padding:8px 10px!important}
  body .ig-consent-panel[data-dpb-ui] .ig-consent-actions .dpb-consent-manage {flex:1 0 120px!important}
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions {bottom:-10px!important}
  /* Keep the last action row clear of the unchanged bottom-left vendor launcher. */
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions {
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions .dpb-consent-decision {grid-row:1;grid-column:span 2}
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions .dpb-consent-save {grid-row:2;grid-column:1/-1}
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions .dpb-consent-close {grid-row:3;grid-column:3}
  body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="true"] .ig-consent-actions .dpb-consent-back {grid-row:3;grid-column:4}
}
/* Only the initial compact notice is tightened; expanded preferences are unchanged. */
body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="false"] {
  padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important;gap:4px 12px;
}
body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="false"] .dpb-consent-summary {
  display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;row-gap:0;
}
body .ig-consent-panel[data-dpb-ui][data-dpb-expanded="false"] .ig-consent-actions {gap:6px!important}
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions .dpb-consent-back,
body .ig-consent-panel[data-dpb-ui] .ig-consent-actions .dpb-consent-back:is(:hover,:focus,:active) {
  color:#164b86!important;background:#ffffff!important;border-color:transparent!important;text-decoration:underline!important;
}
html[data-dpb-captcha-clear="1"] body .ig-consent-reopen[data-dpb-ui],
html[data-dpb-captcha-clear="1"] body .ig-consent-reopen[data-dpb-ui]:is(:hover,:focus,:active) {
  inset:auto calc(12px + var(--dpb-visible-right,0px)) calc(12px + env(safe-area-inset-bottom,0px) + var(--dpb-visible-bottom,0px)) auto!important;
}

/* Preserve the configured bottom-left launcher inside the visible viewport.
   Other UserWay placements and the menu itself retain vendor positioning. */
body .uwy.userway_p5 .userway_buttons_wrapper {
  translate:var(--dpb-visible-left,0px) calc(0px - var(--dpb-visible-bottom,0px))!important;
}
