/* PayHolder B2B — cookie banner and preferences */
#allrecords .t972 {
  --panel-inset: 20px;
  --cookie-green: #006941;
  --cookie-deep: #004f2f;
  --cookie-mint: #c9f9df;
}
#allrecords .t972 :is(.t-text,.t-descr,.t-name,.t972__widget-button) {
  font-family: "Inter Tight Variable", Arial, sans-serif !important;
  color: #17251e;
}
#allrecords .t972 :is(.t972__title,.t972__settings-title) {
  font-family: Bounded, sans-serif !important;
  color: var(--cookie-deep);
  line-height: 1.25;
}
#allrecords .t972 :is(.t972__banner,.t972__settings) {
  background-color: #f7faf6;
  border: 1px solid #cfdbd2;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgb(0 79 47 / 14%);
}
#allrecords .t972 .t-btnflex {
  font-family: Bounded, sans-serif !important;
  font-size: 12px;
  min-height: 44px;
  border-radius: 999px !important;
  clip-path: none;
}
#allrecords .t972 :is(.t972__accept-btn,.t972__confirm-btn) {
  background-color: var(--cookie-green) !important;
  color: #fff !important;
}
#allrecords .t972 :is(.t972__reject-btn,.t972__settings-btn) {
  background-color: var(--cookie-mint) !important;
  color: var(--cookie-deep) !important;
  border: 0 !important;
}
#allrecords .t972 .t-btnflex:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -5px;
}
#allrecords .t972 .t972__widget-button { background-color: var(--cookie-deep); color: white; }
#allrecords .t972 .t972__text a { color: var(--cookie-green); text-decoration: underline; }
#allrecords .t972 .t972__banner { padding: var(--panel-inset); overflow-y: auto; }
@media (max-width: 640px) {
  #allrecords .t972 {
    --panel-inset: 18px;
    --cookie-safe-bottom: env(safe-area-inset-bottom, 0px);
  }
  #allrecords .t972 .t972__banner,
  #allrecords .t972 .t972__settings .t972__settings-footer {
    padding-bottom: calc(var(--panel-inset) + var(--cookie-safe-bottom));
  }
  #allrecords .t972 :is(.t972__banner,.t972__settings) { border-radius: 20px 20px 0 0 !important; }
  #allrecords .t972 .t972__buttons { flex-direction: column; }
  #allrecords .t972 .t972__banner .t972__buttons button { flex: none; width: 100%; }
  #allrecords .t972 .t-btnflex { white-space: normal; }
}
@media (max-width: 480px) {
  #allrecords [data-record-type="972"] .t972.t972_widgetview { left: 10px !important; right: auto !important; }
  #allrecords .t972 .t972__widget { align-items: flex-start; }
  #allrecords .t972 .t972__widget-button { width: 44px; height: 44px; }
}
/* Cookie preferences */
#allrecords .t972__settings {
  --panel-line: #cfdbd2;
  background: #f7faf6;
}
#allrecords .t972__settings :is(.t972__settings-header,.t972__settings-footer) {
  padding: 14px var(--panel-inset);
  flex-shrink: 0;
  background: #f7faf6;
  box-shadow: none;
  border-radius: 0;
}
#allrecords .t972__settings-header { border-bottom: 1px solid var(--panel-line); }
#allrecords .t972__settings-body { min-height: 0; padding: 0 var(--panel-inset); }
#allrecords .t972__settings-title { margin: 20px 0 8px; font-size: 22px; }
#allrecords .t972__settings-text { margin-bottom: 18px; }
#allrecords .t972__categories { display: grid; gap: 10px; margin-bottom: 18px; }
#allrecords .t972__category {
  column-gap: 8px;
  row-gap: 0;
  padding: 14px;
  background: white;
  border: 1px solid var(--panel-line);
  border-radius: 16px;
}
#allrecords .t972__category-header { min-height: 36px; }
#allrecords .t972__category-title { font-weight: 600; color: var(--cookie-deep); }
#allrecords .t972__category-body { order: 2; margin: 8px 0 0; line-height: 1.5; color: #48584e; }
#allrecords .t972__category-toggle { margin-left: auto; }
#allrecords .t972__toggle-txt { color: #48584e; }
#allrecords .t972__toggle-container { margin-left: 8px; }
#allrecords .t972 .t972__toggle-background {
  background-color: #82938a;
  opacity: 1;
  box-shadow: none;
}
#allrecords .t972 .t972__toggle-input:checked + .t972__toggle-container .t972__toggle-background {
  background-color: var(--cookie-green);
  box-shadow: none;
}
#allrecords .t972 .t972__toggle-mark { background-color: white; }
#allrecords .t972 .t972__toggle-input:checked + .t972__toggle-container .t972__toggle-mark {
  background-color: white;
}
#allrecords .t972__settings-footer { border-top: 0; }
#allrecords .t972__settings-footer .t972__confirm-btn { width: 100%; }
@media (max-width: 480px) {
  #allrecords .t972__category { padding: 12px; }
}

/* Match the FAQ disclosure icon. */
#allrecords .t972__category-btn {
  width: 16px;
  height: 16px;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
#allrecords .t972__category-btn .t972__line {
  background-color: var(--cookie-green) !important;
  transform: none;
  opacity: 1;
}
#allrecords .t972__category-header.t972__opened .t972__category-btn {
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .t972__category-btn { transition: none; }
}

@media (min-width: 981px) {
  #allrecords .t972 {
    left: auto !important;
    right: max(32px, calc((100% - 1600px) / 2)) !important;
    bottom: 32px !important;
  }
  #allrecords .ph-fourth .floating-actions {
    bottom: calc(32px + var(--cookie-panel-clearance, 0px));
  }
  #allrecords:has(.floating-actions) .t972 :is(.t972__banner,.t972__settings) {
    max-height: calc(100dvh - 32px - 12px - 62px - 12px) !important;
  }
}
@media (min-width: 981px) and (max-width: 1180px) {
  #allrecords:has(.floating-actions) .t972 :is(.t972__banner,.t972__settings) {
    max-height: calc(100dvh - 32px - 12px - 100px - 12px) !important;
  }
}
/* Shared type scale for the cookie banner and preferences. */
#allrecords .t972 :is(.t972__title,.t972__settings-title) {
  font: 500 16px/1.3 Bounded, sans-serif !important;
}
#allrecords .t972 :is(.t972__text,.t972__settings-text,.t972__category-title,.t972__category-body) {
  font: 400 14px/1.45 "Inter Tight Variable", Arial, sans-serif !important;
}
#allrecords .t972 .t972__category-title { font-weight: 600 !important; }
#allrecords .t972 .t972__toggle-txt { font: 400 12px/1.35 "Inter Tight Variable", Arial, sans-serif !important; }
#allrecords .t972 .t-btnflex { font: 500 12px/1.4 Bounded, sans-serif !important; }
#allrecords .t972 .t972__settings { height: auto; }
#allrecords .t972 .t972__settings-body { height: auto; }
#allrecords .pc-cookie-heading { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; }
#allrecords .pc-cookie-heading .t972__settings-title { margin: 0; }
#allrecords .pc-cookie-heading .t972__settings-header {
  width: 44px; height: 44px; padding: 0; margin-left: -10px;
  justify-content: center; border: 0; background: transparent;
}
#allrecords .pc-cookie-heading .t972__settings-header span { display: none; }
#allrecords .pc-cookie-heading .t972__settings-arrow { display: none; }
#allrecords .pc-cookie-heading .t972__settings-header::before {
  content: "";
  width: 20px;
  height: 14px;
  background: #006b46;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12.5 1.5 18 7l-5.5 5.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12.5 1.5 18 7l-5.5 5.5'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scaleX(-1);
}
#allrecords .t972 .t972__settings-text { margin: 0 0 12px; }
#allrecords .t972 .t972__categories { gap: 6px; margin-bottom: 12px; }
#allrecords .t972 .t972__category { padding: 4px 12px; }
#allrecords .t972 .t972__category-body { margin: 0 0 8px; padding-top: 2px; }
#allrecords .t972 .t972__category-header { min-height: 36px; }
#allrecords .t972 .t972__settings-footer { padding-block: 10px; }

/* Symmetric disclosure and close marks: one vector centre for both strokes. */
#allrecords .t972__category-btn .t972__line { display: none; }
#allrecords .t972__category-btn::before,
#allrecords .ph-fourth .pc-faq-list summary > .pc-faq-toggle::before,
#allrecords .ph-fourth .pc-callback-close::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 8H16M8 0V16' fill='none' stroke='black' stroke-width='1.25'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 8H16M8 0V16' fill='none' stroke='black' stroke-width='1.25'/%3E%3C/svg%3E") center / contain no-repeat;
}
#allrecords .t972__category-btn { color: var(--cookie-green); }
#allrecords .ph-fourth .pc-faq-list summary > .pc-faq-toggle { background: none; }
#allrecords .ph-fourth .pc-callback-close { font-size: 0; }
#allrecords .ph-fourth .pc-callback-close::before { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%) rotate(45deg); }
@media (max-width: 640px) {
  #allrecords .ph-fourth .pc-faq-list summary > .pc-faq-toggle::before { width: 14px; height: 14px; }
}

@media (min-width: 981px) {
  #allrecords .t972 .t972__settings-footer { padding-bottom: var(--panel-inset); }
}

#allrecords .t972 .t972__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#allrecords .t972 .t972__buttons-wrap { display: contents; }
#allrecords .t972 .t972__buttons button {
  flex: 1 1 max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  white-space: normal;
}

#allrecords .t972 .t972__buttons .t972__settings-btn { margin-inline-start: 20px; }
@media (max-width: 640px) {
  #allrecords .t972 .t972__buttons .t972__settings-btn { margin-inline-start: 0; }
}
