.privacy-controls {
  padding: 1rem max(1rem, calc((100% - 1160px) / 2));
  font: inherit;
  color: var(--text, #172f2d);
  background: var(--surface, #fff);
  border-top: 1px solid #b9ceca;
}
.privacy-banner p {
  max-width: 80ch;
}
.privacy-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.privacy-controls button {
  font: inherit;
  color: inherit;
  border: 1px solid #8ca7a1;
  background: transparent;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  min-height: 44px;
  cursor: pointer;
  margin: 0.25rem 0;
}
.privacy-controls button:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}
.privacy-controls a {
  color: inherit;
  text-decoration: underline;
}
.privacy-controls dialog {
  font: inherit;
  color: inherit;
  background: var(--surface, #fff);
  border: 1px solid #8ca7a1;
  border-radius: 1rem;
  padding: 1.25rem;
  max-width: min(38rem, calc(100vw - 2rem));
  max-height: 85dvh;
  overflow: auto;
  box-sizing: border-box;
}
.privacy-controls dialog::backdrop {
  background: rgb(0 0 0 / 0.45);
}
.privacy-controls dialog > button {
  display: block;
}
.privacy-controls [hidden] {
  display: none !important;
}
[data-theme="dark"] .privacy-controls {
  color: #e2efeb;
  background: #152723;
}
[data-theme="dark"] .privacy-controls dialog {
  background: #152723;
}
[data-theme="dark"] .privacy-controls button:focus-visible {
  outline-color: #69d6be;
}
.privacy-actions > button {
  flex: 1;
  min-inline-size: 8rem;
}
.privacy-actions {
  max-inline-size: 38rem;
}
