/* Informational notice: no modal, consent categories, or page-height changes. */
.cookie-notice {
  position: fixed;
  z-index: 120;
  left: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(660px, calc(100% - 48px));
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 19px 22px 17px;
  border: 1px solid #cbd7e8;
  border-radius: 16px;
  background: #fff;
  color: #17212d;
  box-shadow: 0 10px 36px #14222f1a;
  font-family: Avenir, Arial, sans-serif;
  text-align: left;
  overflow-wrap: break-word;
}

.cookie-notice[hidden] { display: none !important; }

.cookie-notice .cookie-notice__title {
  margin: 0 0 7px;
  color: #17212d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.cookie-notice .cookie-notice__text {
  margin: 0;
  color: #42566e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.cookie-notice .cookie-notice__link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 7px 0;
  color: #2456b9;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-notice .cookie-notice__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 108px;
  margin: 0;
  padding: 10px 22px;
  border: 1px solid #245eea;
  border-radius: 999px;
  background: #245eea;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.cookie-settings-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.cookie-notice :is(a, button):focus-visible,
.cookie-settings-trigger:focus-visible {
  outline: 2px solid #245eea;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .cookie-notice .cookie-notice__dismiss:hover { background: #1d51cd; border-color: #1d51cd; }
  .cookie-notice .cookie-notice__link:hover { color: #173f9e; }
  .cookie-settings-trigger:hover { text-decoration-thickness: 2px; }
}

@media (max-width: 600px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: 660px;
    padding: 17px 18px 15px;
    border-radius: 14px;
  }
  .cookie-notice__actions { gap: 12px; margin-top: 10px; }
  .cookie-notice .cookie-notice__dismiss { min-width: 100px; padding-inline: 18px; }
}

@media (max-width: 360px) {
  .cookie-notice { padding: 15px 16px 13px; }
  .cookie-notice .cookie-notice__title { font-size: 15px; }
  .cookie-notice .cookie-notice__dismiss { min-width: 96px; padding-inline: 16px; }
}
