/* A non-modal privacy panel; the page and quick actions remain available. */
.ats-privacy-settings {
  display: none;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 10px 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ats-privacy-settings[data-ready] { display: inline-block; }
.ats-consent[hidden] { display: none; }
.ats-consent {
  position: fixed;
  z-index: 10000;
  inset-inline-start: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 12px;
  background: #fff;
  color: #163f19;
  border: 1px solid #b4c4ae;
  border-radius: 12px;
  font: 14px/1.45 Poppins, sans-serif;
  text-align: start;
}
.ats-consent .ats-consent__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ats-consent p { margin: 0 0 8px; font: inherit; color: inherit; }
.ats-consent a { color: #1f5a22; text-decoration: underline; text-underline-offset: 3px; }
.ats-consent__controls { display: flex; align-items: center; gap: 8px; }
.ats-consent__actions { display: flex; flex: 1; min-width: 0; gap: 8px; }
.ats-consent button { min-height: 44px; cursor: pointer; font: 500 13px/1.4 Poppins, sans-serif; }
.ats-consent__actions button { flex: 1 1 0; min-width: 0; padding: 8px 6px; background: transparent; color: #163f19; border: 1px solid #6b8263; border-radius: 8px; }
.ats-consent__actions button:hover { color: #163f19; background: #eef5e9; }
.ats-consent__actions button:disabled { color: #4c614a; background: #e6eee2; border-color: #788c74; cursor: not-allowed; }
#ats-consent-status { font-size: 13px; }
.ats-consent__close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; padding: 0; background: transparent; border: 0; color: #1f5a22; border-radius: 8px; }
.ats-consent__close:hover { background: #eef5e9; }
.ats-consent__close svg { width: 16px; height: 16px; }
.ats-consent :focus-visible, .ats-privacy-settings:focus-visible { outline: 3px solid #287228; outline-offset: 4px; }
@media (max-width: 767px) {
  .ats-consent { inset-inline-start: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px)); padding: 12px; }
}

/* Saved-choice feedback stays accessible without another banner to dismiss. */
.ats-consent-feedback { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ats-consent-feedback[data-warning] { position: fixed; z-index: 10000; inset-inline-start: 24px; bottom: 24px; width: min(420px, calc(100% - 48px)); height: auto; max-height: calc(100dvh - 48px); box-sizing: border-box; margin: 0; padding: 12px 16px; overflow-y: auto; clip-path: none; white-space: normal; background: #f6fbf2; color: #163f19; border: 1px solid #287228; border-radius: 12px; font: 14px/1.5 Poppins, sans-serif; }
.ats-consent-feedback button { min-height: 44px; padding: 8px 0; background: transparent; border: 0; color: #1f5a22; font: 600 13px/1.4 Poppins, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ats-consent-feedback button:focus-visible { outline: 3px solid #287228; outline-offset: 3px; }
@media (max-width: 767px) {
  .ats-consent-feedback[data-warning] { inset-inline-start: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px)); }
}
