/* Shared EMCsoft / MailSequence cookie presentation, isolated from page tokens. */
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
.cookie-banner {
  --cookie-edge: 24px;
  position: fixed;
  z-index: 100;
  left: max(var(--cookie-edge), env(safe-area-inset-left));
  bottom: max(var(--cookie-edge), env(safe-area-inset-bottom));
  width: min(520px, calc(100% - 2 * var(--cookie-edge) - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-height: calc(100vh - 2 * var(--cookie-edge) - env(safe-area-inset-bottom) - env(safe-area-inset-top));
  max-height: calc(100dvh - 2 * var(--cookie-edge) - env(safe-area-inset-bottom) - env(safe-area-inset-top));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #18243d;
  box-shadow: 0 10px 48px rgba(32, 58, 112, .09);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}

.cookie-banner,
.cookie-banner * { box-sizing: border-box; }
.cookie-banner[hidden],
.cookie-banner [hidden] { display: none !important; }
.cookie-banner p { margin: 0; padding: 0; font: inherit; color: #46526a; }
.cookie-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cookie-heading h2 { margin: 0; padding: 0; color: #18243d; font-family: Manrope, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; text-transform: none; }
.cookie-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; min-height: 44px; padding: 10px; border: 1px solid #dce2ec; border-radius: 8px; background: #fff; color: #18243d; cursor: pointer; }
.cookie-close svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cookie-close:hover { background: #edf2fe; }
.cookie-details { margin-top: 8px; }
.cookie-details summary { display: list-item; width: fit-content; min-height: 44px; padding: 10px 0; color: #245be3; font-size: 13px; font-weight: 650; line-height: 1.65; cursor: pointer; }
.cookie-details p { padding-bottom: 8px; }
.cookie-details strong { font-weight: 700; }
.cookie-details a { color: #245be3; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner .cookie-current,
.cookie-banner .cookie-error { margin-top: 8px; }
.cookie-banner .cookie-error { padding: 12px; border-radius: 8px; background: #edf2fe; }
.cookie-actions { display: flex; gap: 12px; margin-top: 16px; }
.cookie-choice { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid #245be3; border-radius: 8px; background: #fff; color: #245be3; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 650; line-height: 1.65; letter-spacing: normal; text-align: center; text-transform: none; cursor: pointer; }
.cookie-choice:hover { background: #edf2fe; }
.cookie-banner :focus-visible { outline: 2px solid #245be3; outline-offset: 4px; }
.cookie-heading h2:focus { outline: 2px solid #245be3; outline-offset: 4px; border-radius: 2px; }
.cookie-settings { min-height: 44px; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cookie-settings:hover { color: #245be3; }
.cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.cookie-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 540px) {
  .cookie-banner { --cookie-edge: 12px; padding: 20px; }
  .cookie-actions { gap: 10px; }
  .cookie-choice { padding-inline: 8px; }
}

@media (max-width: 340px) {
  .cookie-actions { flex-direction: column; }
}
