.p23-consent,
.p23-consent * {
  box-sizing: border-box;
}

.p23-consent {
  position: fixed;
  z-index: 2147483647;
  right: 20px;
  bottom: 20px;
  width: min(560px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid rgba(18, 24, 33, .14);
  border-radius: 18px;
  background: #fff;
  color: #171b22;
  box-shadow: 0 18px 60px rgba(18, 24, 33, .24);
  font: 15px/1.5 Manrope, Arial, sans-serif;
}

.p23-consent[hidden],
.p23-consent-settings[hidden] {
  display: none !important;
}

.p23-consent:target,
.p23-consent:target .p23-consent-settings {
  display: block !important;
}

.p23-consent-control:not([open]) > .p23-consent {
  display: none !important;
}

.p23-consent-control[open] > summary {
  display: none;
}

.p23-consent__title {
  margin: 0 0 8px;
  color: inherit;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.p23-consent__copy {
  margin: 0 0 18px;
  color: #4b5260;
}

.p23-consent a {
  color: #245ea8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.p23-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.p23-consent__button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #1f4e83;
  border-radius: 10px;
  background: #fff;
  color: #173b64;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.p23-consent__button:focus-visible,
.p23-cookie-settings:focus-visible,
.p23-consent-settings input:focus-visible {
  outline: 3px solid #f0b323;
  outline-offset: 3px;
}

.p23-consent__manage {
  border: 0;
  background: transparent;
  color: #245ea8;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.p23-consent__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 14px;
}

.p23-consent-settings {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dfe3e8;
}

.p23-consent-settings__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.p23-consent-settings__row + .p23-consent-settings__row {
  border-top: 1px solid #eceff2;
}

.p23-consent-settings__row strong,
.p23-consent-settings__row small {
  display: block;
}

.p23-consent-settings__row small {
  margin-top: 3px;
  color: #626a77;
}

.p23-consent-settings input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: #1f4e83;
}

.p23-cookie-settings {
  position: fixed;
  z-index: 2147483646;
  right: 20px;
  bottom: 20px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(18, 24, 33, .16);
  color: #245ea8;
  cursor: pointer;
  font: inherit;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.p23-feedback-policy-link {
  margin: 8px 0 14px;
  font-size: 13px;
}

.p23-cookie-settings::-webkit-details-marker {
  display: none;
}

@media (max-width: 560px) {
  .p23-consent {
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
    max-height: min(64vh, 560px);
    overflow: auto;
    padding: 18px;
  }

  .p23-consent__actions {
    grid-template-columns: 1fr;
  }

  .p23-cookie-settings {
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .p23-consent * {
    scroll-behavior: auto !important;
  }
}
