.magnus-privacy[hidden] { display: none; }

.magnus-privacy {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 10010;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(24rem, calc(100% - 2.5rem));
  max-height: calc(100dvh - 2.5rem);
  overflow: hidden;
  padding: 1.125rem;
  color: var(--brand-color-text);
  background: #fbf9f5;
  border: 1px solid var(--brand-color-border);
  border-radius: var(--brand-radius-large);
  box-shadow: 0 8px 40px rgb(41 49 38 / 20%);
  font-family: var(--brand-font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
  --brand-control-background: #fbf9f5;
  --brand-control-focus-color: var(--brand-color-text);
}

.magnus-privacy h2 {
  margin: 0 0 0.5rem;
  font-family: var(--brand-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.magnus-privacy p { margin: 0 0 0.625rem; }
.magnus-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.magnus-privacy__links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.375rem 1rem; font-size: 0.8125rem; }
.magnus-privacy details[open] { flex-basis: 100%; }
.magnus-privacy summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.magnus-privacy details p { margin-top: 0.5rem; }
.magnus-privacy .magnus-privacy__status { margin: 0.5rem 0 0; font-size: 0.8125rem; }
.magnus-privacy__status:empty { display: none; }
.magnus-privacy__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.magnus-privacy__actions { display: grid; flex-shrink: 0; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding-top: 0.875rem; }
.magnus-privacy__actions .button {
  min-height: 2.75rem;
  font: inherit;
  font-weight: 500;
  line-height: 1.25;
}
.magnus-privacy :focus-visible,
button[data-privacy-open]:not(.footer4_legal-link):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.magnus-privacy :focus-visible { outline-color: var(--brand-color-text); }

.footer4_bottom-wrapper button[data-privacy-open] {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 479px) {
  .magnus-privacy { right: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); max-height: calc(100dvh - 1.5rem); padding: 1rem; }
}

@media print { .magnus-privacy { display: none; } }
