.at-privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.at-privacy-footer-fallback {
  padding: 1rem;
  background: #d0e3c4;
  color: #503047;
  text-align: center;
}
.at-privacy-dialog:not([open]),
.at-privacy-dialog [hidden] { display: none !important; }
.at-privacy-dialog {
  position: fixed;
  inset: 0;
  width: min(42rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(85vh, 54rem);
  max-height: min(85dvh, 54rem);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #503047;
  background: #fbfcf9;
  border: 1px solid #9cb38f;
  border-radius: 12px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.7;
}
.at-privacy-dialog::backdrop { background: rgb(45 28 40 / 52%); }
.at-privacy-content { padding: clamp(1.2rem, 4vw, 2rem); }
.at-privacy-dialog h2 {
  margin: 0 0 .8rem;
  color: #503047;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.2;
}
.at-privacy-dialog h3 {
  margin: 1.5rem 0 .5rem;
  color: #503047;
  font-size: 1.2rem;
  line-height: 1.35;
}
.at-privacy-dialog p { margin: .6rem 0; }
.at-privacy-dialog a { color: #503047; text-underline-offset: .2em; }
.at-privacy-choice {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  min-height: 44px;
  margin-top: 1rem;
  padding: .8rem;
  background: #e8f0e1;
  border: 1px solid #9cb38f;
  border-radius: 6px;
  cursor: pointer;
}
.at-privacy-choice input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: .2rem 0 0;
  accent-color: #503047;
}
.at-privacy-dialog .at-privacy-note { font-size: .875rem; }
.at-privacy-policy-links,
.at-privacy-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.at-privacy-policy-links a { display: inline-flex; align-items: center; min-height: 44px; }
.at-privacy-dialog .at-privacy-status:empty { display: none; }
.at-privacy-dialog .at-privacy-status { margin: .8rem 0 1rem; font-weight: 700; }
.at-privacy-actions { margin-top: 1.2rem; }
.at-privacy-actions button {
  min-height: 44px;
  padding: .75rem 1.1rem;
  border: 1px solid #503047;
  border-radius: 6px;
  font: inherit;
  font-size: .95rem;
  line-height: 1.4;
  cursor: pointer;
}
.at-privacy-save { background: #503047; color: #fff; }
.at-privacy-close { background: transparent; color: #503047; }
.at-privacy-actions button:hover { text-decoration: underline; text-underline-offset: .2em; }
.at-privacy-dialog :focus-visible,
.at-privacy-link:focus-visible { outline: 3px solid #503047; outline-offset: 3px; }
html.at-privacy-is-open { overflow: hidden; }
.at-consent-banner[hidden] { display: none !important; }
.at-consent-banner {
  position: fixed;
  z-index: 9990;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-height: 80vh;
  max-height: 80dvh;
  overflow-y: auto;
  padding: 1.1rem max(1.1rem, calc((100vw - 1100px) / 2));
  color: #503047;
  background: #edf4e8;
  border-top: 1px solid #9cb38f;
  box-sizing: border-box;
  line-height: 1.6;
}
.at-consent-copy { flex: 1 1 26rem; }
.at-consent-banner h2 { margin: 0 0 .35rem; color: #503047; font-size: 1.35rem; line-height: 1.25; }
.at-consent-banner p { margin: 0; font-size: .875rem; }
.at-consent-banner .at-privacy-status:empty { display: none; }
.at-consent-banner .at-privacy-status { margin-top: .5rem; font-weight: 700; }
.at-consent-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.at-consent-choice {
  min-height: 44px;
  padding: .75rem 1rem;
  color: #fff;
  background: #503047;
  border: 1px solid #503047;
  border-radius: 6px;
  font: inherit;
  font-size: .875rem;
  line-height: 1.4;
  cursor: pointer;
}
.at-consent-choice:hover { text-decoration: underline; text-underline-offset: .2em; }
.at-consent-choice:disabled { cursor: default; opacity: .65; }
.at-consent-preferences { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .2rem; color: #503047; font-size: .875rem; text-underline-offset: .2em; }
.at-consent-banner :focus-visible { outline: 3px solid #503047; outline-offset: 3px; }
body.at-consent-banner-visible { padding-bottom: var(--at-consent-banner-height, 0px); }
.at-privacy-noscript { padding: 1rem; color: #503047; background: #edf4e8; text-align: center; }
@media (max-width: 420px) {
  .at-privacy-actions { flex-direction: column; }
  .at-privacy-actions button { width: 100%; }
  .at-consent-actions { width: 100%; }
  .at-consent-choice { flex: 1 1 40%; }
  .at-consent-preferences { justify-content: center; width: 100%; }
}
