#doit-privacy-choices {
  color: #fff;
  background: #20292e;
  padding: 1rem max(1.5rem, calc((100% - 68rem) / 2));
  scroll-margin: 6rem;
}

#doit-privacy-choices a { color: #fff; text-decoration: underline; }
#doit-privacy-choices p { margin: .4rem 0 .8rem; }
#doit-privacy-choices button {
  color: #17242b;
  background: #f7f6f3;
  border: 2px solid #f7f6f3;
  border-radius: .2rem;
  padding: .45rem .75rem;
  min-height: 44px;
  margin: .25rem .5rem .25rem 0;
}
#doit-privacy-choices button:focus-visible, #doit-privacy-choices a:focus-visible {
  outline: 3px solid #ffdc73;
  outline-offset: 3px;
}
#doit-privacy-choices [hidden] { display: none !important; }

/* Match the existing floating WhatsApp breakpoint; reserve its hit area. */
@media screen and (max-width:1050px) {
  #doit-privacy-choices {
    padding-block-end: calc(1rem + 72px + env(safe-area-inset-bottom, 0px));
  }
}

/* UI1 proposal: use the controller's existing disclosure state; no consent changes. */
@supports selector(:has(*)) {
  #doit-privacy-choices[data-mounted="true"]:has(> [data-privacy-toggle][aria-expanded="false"]) {
    background: #161617;
    padding: 8px max(20px, calc((100% - 1308px) / 2));
  }

  #doit-privacy-choices[data-mounted="true"]:has(> [data-privacy-toggle][aria-expanded="false"]) > [data-privacy-toggle] {
    background: transparent;
    border-color: transparent;
    color: #fff;
    font-size: 14px;
    margin: 0;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Keep live status available to assistive technology while the disclosure is closed. */
  #doit-privacy-choices[data-mounted="true"]:has(> [data-privacy-toggle][aria-expanded="false"]) > [data-privacy-status] {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}
