.agency-consent,
.agency-privacy-entry {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
}
.agency-consent *,
.agency-privacy-entry * {
  box-sizing: border-box;
}
.agency-consent [hidden] {
  display: none !important;
}
.agency-consent-banner,
.agency-consent dialog {
  color: var(--agency-privacy-text, #14253b);
  background: var(--agency-privacy-surface, #fff);
  border: 1px solid
    color-mix(in srgb, var(--agency-privacy-text) 20%, transparent);
  border-radius: var(--agency-privacy-radius, 12px);
  box-shadow: 0 16px 64px rgb(0 0 0 / 16%);
}
.agency-consent-banner {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 99990;
  width: min(580px, calc(100vw - 48px));
  max-height: 45dvh;
  overflow-y: auto;
  padding: 24px;
}
.agency-consent-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.agency-consent-caption span {
  font-weight: 450;
  text-transform: none;
  letter-spacing: 0;
}
.agency-consent h2,
.agency-consent h3,
.agency-consent p {
  color: inherit;
  margin: 0;
}
.agency-consent-banner h2 {
  font-weight: 650;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}
.agency-consent-banner p {
  margin-bottom: 18px;
}
.agency-consent button,
.agency-privacy-entry button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
.agency-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.agency-consent-actions:not(:has(.agency-consent-customize)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.agency-consent-actions button,
.agency-consent-save {
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--agency-privacy-text);
  border-radius: calc(var(--agency-privacy-radius) / 2);
  background: var(--agency-privacy-text);
  color: var(--agency-privacy-surface);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: box-shadow 140ms ease;
}
.agency-consent-actions .agency-consent-customize {
  background: transparent;
  color: var(--agency-privacy-text);
}
.agency-consent button:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}
.agency-consent :focus-visible,
.agency-privacy-entry :focus-visible {
  outline: 3px solid var(--agency-privacy-accent, #2549d8);
  outline-offset: 4px;
}
.agency-consent button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.agency-consent dialog {
  padding: 28px;
  width: min(620px, calc(100vw - 32px));
  max-height: min(85dvh, 840px);
  overflow-y: auto;
}
.agency-consent dialog::backdrop {
  background: rgb(13 23 38 / 38%);
}
.agency-consent-dialog-head,
.agency-consent-category-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.agency-consent-dialog-head {
  margin-bottom: 18px;
}
.agency-consent-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px !important;
}
.agency-consent dialog h2 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.agency-consent-close {
  flex: 0 0 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  border-radius: 50%;
  font-size: 25px !important;
  line-height: 1;
}
.agency-consent-owner {
  font-size: 12px;
  padding: 14px 0;
}
.agency-consent-category {
  padding: 18px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--agency-privacy-text) 25%, transparent);
}
.agency-consent-category h3 {
  font-size: 16px;
  line-height: 1.4;
}
.agency-consent-category p {
  margin: 10px 0;
}
.agency-consent-required {
  white-space: nowrap;
  font-size: 12px;
}
.agency-consent-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-height: 44px;
}
.agency-consent-toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--agency-privacy-accent);
  margin: 0;
}
.agency-consent-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.agency-consent summary {
  cursor: pointer;
  font-size: 12px;
  min-height: 32px;
  padding: 6px 0;
}
.agency-consent dl {
  margin: 8px 0 0;
  font-size: 12px;
}
.agency-consent dt {
  font-weight: 650;
}
.agency-consent dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.agency-consent a {
  color: var(--agency-privacy-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agency-consent-notice {
  border-top: 1px solid
    color-mix(in srgb, var(--agency-privacy-text) 25%, transparent);
  padding: 16px 0;
  font-size: 12px;
}
.agency-consent-notice p + p {
  margin-top: 8px;
}
.agency-consent-save {
  width: 100%;
  margin-bottom: 8px;
  background: transparent;
  color: var(--agency-privacy-text);
}
.agency-consent-withdraw {
  display: block;
  background: transparent;
  color: inherit;
  border: 0;
  text-decoration: underline;
  margin: 12px auto 0;
}
.agency-consent-feedback:not(:empty) {
  margin-top: 12px;
}
.agency-privacy-entry button {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (width <= 600px) {
  .agency-consent-banner {
    inset: auto 12px 12px;
    width: auto;
    padding: 18px;
  }
  .agency-consent-actions button {
    padding: 10px 8px;
    font-size: 12px;
  }
  .agency-consent dialog {
    padding: 22px;
  }
  .agency-consent dialog h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agency-consent * {
    transition: none;
  }
}

.agency-consent-dismiss {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 0 10px;
  font-size: 22px !important;
}
.agency-consent-caption {
  align-items: center;
  margin-bottom: 6px;
}
@media (width <= 350px) {
  .agency-consent-actions {
    grid-template-columns: 1fr;
  }
}

.agency-consent h2 {
  font-family: var(--agency-privacy-heading, inherit);
}
.agency-consent dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.agency-consent-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
}
.agency-consent-scroll {
  overflow-y: auto;
  min-height: 0;
  scrollbar-gutter: stable;
  padding-right: 8px;
}
.agency-consent-dialog-actions {
  flex-shrink: 0;
  padding-top: 12px;
  border-top: 1px solid
    color-mix(in srgb, var(--agency-privacy-text) 25%, transparent);
}
.agency-consent-feedback:empty {
  display: none;
}
