/* Webnso cookie choices — a compact, non-modal panel in the site's release-page palette. */
#wn-consent,
#wn-consent *,
#wn-consent-settings,
#wn-consent-settings * {
  box-sizing: border-box;
}

#wn-consent[hidden],
#wn-consent [hidden],
#wn-consent-settings[hidden] {
  display: none !important;
}

#wn-consent {
  position: fixed;
  z-index: 40;
  inset: auto 16px calc(70px + env(safe-area-inset-bottom, 0px));
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 104px - env(safe-area-inset-top, 0px));
  margin-inline: auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 3vw, 30px);
  color: #0B0B0C;
  background: #F4F6F8;
  border: 2px solid #0B0B0C;
  border-radius: 20px 20px 20px 0;
  box-shadow: 0 8px 28px rgb(11 11 12 / 18%);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

#wn-consent-title {
  margin: 0 44px 9px 0;
  color: #0B0B0C;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

#wn-consent-status {
  margin: 0 0 14px;
  color: #454B52;
  overflow-wrap: anywhere;
}

#wn-consent a {
  color: #1E6A9E;
  font-weight: 700;
  text-underline-offset: 3px;
}

#wn-consent a:hover {
  color: #0B0B0C;
}

.wn-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wn-consent-actions button,
#wn-consent [data-consent="close"],
#wn-consent-settings {
  min-height: 48px;
  border: 2px solid #0B0B0C;
  border-radius: 999px;
  font: 700 16px/1.2 'DM Sans', sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wn-consent-actions button {
  flex: 1 1 200px;
  padding: 10px 18px;
  color: #fff;
  background: #1E6A9E;
  border-color: #1E6A9E;
}

.wn-consent-actions button:hover {
  color: #fff;
  background: #185982;
  border-color: #185982;
}

#wn-consent [data-consent="close"] {
  padding: 10px 18px;
  color: #0B0B0C;
  background: transparent;
}

#wn-consent-settings {
  position: fixed;
  z-index: 39;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  min-width: 142px;
  padding: 0 18px;
  color: #fff;
  background: #0B0B0C;
  box-shadow: 0 3px 12px rgb(11 11 12 / 16%);
}

#wn-consent-settings:hover {
  color: #fff;
  background: #1E6A9E;
  border-color: #1E6A9E;
}

#wn-consent :focus-visible,
#wn-consent-settings:focus-visible {
  outline: 3px solid #1E6A9E;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  #wn-consent {
    inset-inline: 10px;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: calc(100dvh - 92px - env(safe-area-inset-top, 0px));
    padding: 20px 16px;
    border-radius: 18px 18px 18px 0;
  }

  #wn-consent-title {
    font-size: 24px;
  }

  .wn-consent-actions {
    flex-direction: column;
    gap: 8px;
  }

  .wn-consent-actions button {
    flex: 1 1 auto;
    width: 100%;
  }

  #wn-consent-settings {
    right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #wn-consent,
  #wn-consent-settings,
  .wn-consent-actions button {
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
  }
}
