.privacy-choice {
  box-sizing: border-box;
  position: fixed;
  z-index: 1200;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(384px, calc(100% - 32px));
  max-height: calc(100dvh - 32px - env(safe-area-inset-bottom));
  overflow: auto;
  padding: 14px;
  color: #241b32;
  background: #fff;
  border: 1px solid #e5def0;
  border-radius: 16px;
  box-shadow: 0 12px 40px #2a174322;
  text-align: start;
}

.privacy-choice h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.privacy-choice p {
  margin: 0;
  color: #554963;
  font-size: 13px;
  line-height: 1.45;
}

.privacy-choice a { color: #57349c; text-underline-offset: 2px; }
.privacy-choice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.privacy-choice-actions button {
  min-height: 44px;
  padding: 5px 6px;
  border: 1px solid #ded4eb;
  border-radius: 9px;
  background: #f7f4fb;
  color: #392455;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

@media (hover: hover) {
  .privacy-choice-actions button:hover { background: #eee7f7; border-color: #a68bcf; }
}

.privacy-choice :focus-visible, .privacy-preferences:focus-visible {
  outline: 2px solid #7544cf;
  outline-offset: 2px;
}

.privacy-preferences {
  margin: 8px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-choice[hidden] { display: none !important; }

@media (max-width: 480px) {
  .privacy-choice {
    inset-inline-end: max(8px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: min(384px, calc(100% - max(8px, env(safe-area-inset-right)) - max(8px, env(safe-area-inset-left))));
    padding: 10px 12px;
    border-radius: 13px;
  }
}

.workspace-cookie-preferences{position:fixed;bottom:4px;right:8px;z-index:1100;background:#fff;color:#492c79;border:1px solid #cfc0e8;border-radius:8px;font-size:11px;padding:5px 8px;margin:0}

/* One unobtrusive workspace control, never inside a modal. */
button.workspace-cookie-preferences{display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:8px;right:12px;bottom:12px;border-radius:50%;box-shadow:0 3px 14px #37214e12;text-decoration:none;cursor:pointer}
.workspace-cookie-preferences svg{width:22px;height:22px}
body:has(#workspace-dialog[open])>.workspace-cookie-preferences,body:has(#workspace-dialog[open])>.privacy-choice{display:none!important}
@media(max-width:600px){button.workspace-cookie-preferences{bottom:76px;width:36px;height:36px;min-width:36px;padding:7px}}
