/* Consent UI is independent of the site's existing forms and page styles. */
.pw-cookie,
.pw-cookie *,
.pw-cookie *::before,
.pw-cookie *::after {
  box-sizing: border-box;
}
.pw-cookie {
  font-family: 'Manrope', Arial, sans-serif;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
}
.pw-cookie[hidden],
.pw-cookie [hidden],
[data-cookie-map-placeholder][hidden],
[data-cookie-settings][hidden],
[data-cookie-enable-map][hidden] {
  display: none !important;
}
.pw-cookie button,
.pw-cookie a {
  -webkit-tap-highlight-color: transparent;
}
.pw-cookie button {
  font-family: inherit;
  cursor: pointer;
}
.pw-cookie a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pw-cookie :focus-visible,
button.pw-cookie-settings:focus-visible,
.pw-map-placeholder :focus-visible {
  outline: 2px solid #ba3e17;
  outline-offset: 4px;
}
.pw-cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 32px;
  max-width: 1432px;
  margin: auto;
  padding: 24px 28px;
  border: 1px solid #d6dfd5;
  border-top: 3px solid #ed4e1c;
  border-radius: 8px;
  background: #faf9f3;
  color: #202b2b;
  box-shadow: 0 12px 60px #0b161636;
}
.pw-cookie-banner-copy {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 18px;
}
.pw-cookie-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0ecdf;
  color: #304f40;
}
.pw-cookie-symbol svg {
  width: 24px;
  height: 24px;
}
.pw-cookie .pw-cookie-title {
  margin: 0 0 8px;
  color: inherit;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.6px;
  text-transform: none;
}
.pw-cookie-banner p {
  max-width: 680px;
  margin: 0;
  color: #53645d;
  font-size: 13px;
  line-height: 1.75;
}
.pw-cookie-banner .pw-cookie-policy-link {
  display: inline-block;
  margin-top: 8px;
  color: #354f40;
  font-size: 12px;
  font-weight: 700;
}
.pw-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pw-cookie .pw-cookie-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid #171e24;
  border-radius: 4px;
  background: #171e24;
  color: #fff9eb;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.pw-cookie .pw-cookie-button:hover {
  border-color: #354f40;
  background: #354f40;
}
.pw-cookie .pw-cookie-button-accept {
  border-color: #ed4e1c;
  background: #ed4e1c;
  color: #171e24;
}
.pw-cookie .pw-cookie-button-accept:hover {
  border-color: #f7784e;
  background: #f7784e;
}
.pw-cookie .pw-cookie-button-outline {
  border-color: #a5b4a8;
  background: transparent;
  color: #202b2b;
}
.pw-cookie .pw-cookie-button-outline:hover {
  border-color: #53645d;
  background: #e8eee3;
}
.pw-cookie-dialog {
  width: calc(100% - 32px);
  max-width: 620px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #c9d4c9;
  border-radius: 10px;
  background: #faf9f3;
  color: #202b2b;
  box-shadow: 0 20px 90px #0006;
}
.pw-cookie-dialog::backdrop {
  background: #0c151bbf;
  backdrop-filter: blur(4px);
}
.pw-cookie-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding: 28px 32px 22px;
  border-bottom: 1px solid #d6dfd5;
  background: #171e24;
  color: #fff9eb;
}
.pw-cookie-dialog-header .pw-cookie-title {
  margin-bottom: 0;
  font-size: 27px;
}
.pw-cookie-eyebrow {
  margin: 0 0 8px;
  color: #bce5cf;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pw-cookie .pw-cookie-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid #bce5cf60;
  border-radius: 50%;
  background: transparent;
  color: #fff9eb;
}
.pw-cookie-close svg {
  width: 18px;
  height: 18px;
}
.pw-cookie .pw-cookie-close:hover {
  border-color: #bce5cf;
  background: #bce5cf15;
}
.pw-cookie .pw-cookie-close:focus-visible {
  outline-color: #bce5cf;
}
.pw-cookie-dialog-body {
  padding: 24px 32px 28px;
}
.pw-cookie-dialog-body > p {
  margin: 0 0 22px;
  color: #53645d;
  font-size: 14px;
  line-height: 1.8;
}
.pw-cookie-category {
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid #d6dfd5;
  border-radius: 6px;
  background: #fffdf7;
}
.pw-cookie-category-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.pw-cookie-category h3,
.pw-cookie-category label {
  margin: 0;
  color: #202b2b;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: -0.1px;
}
.pw-cookie-category p {
  margin: 10px 0 0;
  color: #53645d;
  font-size: 12px;
  line-height: 1.8;
}
.pw-cookie-badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 4px;
  background: #e0ecdf;
  color: #354f40;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 800;
}
.pw-cookie-switch {
  position: relative;
  display: inline-block;
  flex: 0 0 46px;
  width: 46px;
  height: 28px;
}
.pw-cookie-switch input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 46px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid #93a497;
  border-radius: 20px;
  background: #d8dfd5;
  cursor: pointer;
}
.pw-cookie-switch input:checked {
  border-color: #354f40;
  background: #354f40;
}
.pw-cookie-switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fffdf7;
  box-shadow: 0 1px 3px #171e2430;
  pointer-events: none;
  transition: transform 0.15s;
}
.pw-cookie-switch input:checked + span {
  transform: translateX(18px);
}
.pw-cookie-category details {
  margin-top: 12px;
  color: #53645d;
  font-size: 12px;
  line-height: 1.8;
}
.pw-cookie-category summary {
  width: fit-content;
  color: #354f40;
  cursor: pointer;
  font-weight: 700;
}
.pw-cookie-category details p {
  margin-top: 8px;
}
.pw-cookie-dialog .pw-cookie-unused {
  margin: 18px 0 24px;
  font-size: 12px;
}
.pw-cookie-dialog .pw-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pw-cookie-dialog .pw-cookie-actions button {
  padding-inline: 10px;
}
.pw-cookie-dialog .pw-cookie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 20px 0 0;
  font-size: 12px;
}
button.pw-cookie-settings {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #53645d;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}
button.pw-cookie-settings:hover {
  color: #a83e1d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Footer controls follow the typography and alignment of their adjacent links. */
body.lively-site .page-footer .footer-links > button.pw-cookie-settings {
  font-size: inherit;
  line-height: 1.5;
  font-weight: 500;
}
body.lively-site .page-footer .footer-links > button.pw-cookie-settings:hover {
  color: var(--lively-accent, #ed4e1c);
  text-decoration: none;
}
.legal-page .legal-footer-links > button.pw-cookie-settings {
  min-height: 0;
  color: #536068;
  font: inherit;
}
.legal-page .legal-footer-links > button.pw-cookie-settings:hover {
  color: #20282c;
}
.insights-footer nav > button.pw-cookie-settings {
  min-height: 0;
  color: inherit;
  font: inherit;
}
.pw-cookie-floating {
  position: fixed;
  z-index: 40;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #bce5cf70;
  border-radius: 24px;
  background: #171e24;
  color: #fff9eb;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px #171e2420;
}
.pw-cookie-floating svg {
  width: 20px;
  height: 20px;
}
.pw-cookie-notice {
  position: fixed;
  z-index: 46;
  left: 18px;
  bottom: 74px;
  max-width: min(420px, calc(100% - 36px));
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #b6cdbb;
  border-radius: 6px;
  background: #e0ecdf;
  color: #202b2b;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 4px 18px #171e241a;
}
.pw-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 24px;
  background-color: #e5ece3;
  background-image:
    linear-gradient(35deg, transparent 46%, #c6d8c6 47%, #c6d8c6 48%, transparent 49%),
    linear-gradient(145deg, transparent 55%, #d5e0ce 56%, #d5e0ce 59%, transparent 60%);
  background-size:
    190px 150px,
    240px 190px;
  color: #202b2b;
  font-family: 'Manrope', Arial, sans-serif;
  text-align: center;
}
.pw-map-placeholder > svg {
  width: 30px;
  height: 30px;
  color: #a83e1d;
}
.pw-map-placeholder strong {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
}
.pw-map-placeholder p {
  max-width: 370px;
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
}
.pw-map-placeholder button {
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid #171e24;
  border-radius: 4px;
  background: #171e24;
  color: #fff9eb;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  cursor: pointer;
}
.pw-map-placeholder a {
  color: #354f40;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page .pw-cookie-policy h2 {
  margin: 32px 0 14px;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.pw-policy-storage {
  margin: 24px 0;
  padding: 20px;
  border-left: 3px solid #ed4e1c;
  background: #eef3ea;
  border-radius: 0 5px 5px 0;
}
.pw-policy-storage dt {
  margin-top: 12px;
  color: #20282c;
  font-size: 13px;
  font-weight: 600;
}
.pw-policy-storage dt:first-child {
  margin-top: 0;
}
.pw-policy-storage dd {
  margin: 4px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.legal-page .pw-cookie-policy .pw-policy-manage {
  display: inline-flex;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid #171e24;
  border-radius: 4px;
  background: #171e24;
  color: #fff9eb;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 1100px) {
  .pw-cookie-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pw-cookie-banner .pw-cookie-actions {
    justify-content: flex-end;
  }
}
@media (max-width: 620px) {
  body.lively-site .page-footer,
  .legal-page .legal-footer,
  .insights-footer {
    padding-bottom: 68px;
  }
  .pw-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 20px;
    gap: 16px;
  }
  .pw-cookie-banner-copy {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pw-cookie-banner .pw-cookie-symbol {
    display: none;
  }
  .pw-cookie .pw-cookie-title {
    font-size: 20px;
  }
  .pw-cookie-banner p {
    font-size: 12px;
  }
  .pw-cookie-banner .pw-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pw-cookie-banner [data-cookie-settings] {
    grid-column: 1 / -1;
  }
  .pw-cookie .pw-cookie-button {
    padding: 10px 12px;
  }
  .pw-cookie-dialog-header {
    padding: 24px 22px 20px;
  }
  .pw-cookie-dialog-header .pw-cookie-title {
    font-size: 24px;
  }
  .pw-cookie-dialog-body {
    padding: 22px;
  }
  .pw-cookie-category {
    padding: 16px;
  }
  .pw-cookie-dialog .pw-cookie-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pw-cookie-dialog [data-cookie-save] {
    grid-column: 1 / -1;
  }
  .pw-cookie-floating {
    width: 42px;
    padding: 10px;
    left: 12px;
    bottom: 12px;
  }
  .pw-cookie-floating span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .pw-map-placeholder {
    padding: 18px;
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pw-cookie .pw-cookie-button,
  .pw-cookie-switch span {
    transition: none;
  }
}
