.cookie-consent[hidden] { display: none !important; }
.cookie-consent, .cookie-settings { box-sizing: border-box; font-family: var(--body, "Manrope", Arial, sans-serif); }
.cookie-consent { position: fixed; z-index: 150; inset: auto 20px 20px; width: auto; max-width: 1000px; margin: 0 auto; padding: 22px 26px; color: #fff; background: #062f68; border: 1px solid #365985; box-shadow: 0 12px 40px #00152f33; }
.cookie-consent__copy strong { display: block; margin-bottom: 10px; font-size: 17px; line-height: 1.35; }
.cookie-consent__copy p { margin: 0 0 6px; color: #e1e9f3; font-size: 14px; line-height: 1.6; }
.cookie-consent__copy a { display: inline-block; margin-top: 4px; color: #fff; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-consent__button { min-height: 44px; padding: 11px 18px; border: 1px solid #94aaca; font: 600 13px/1.4 var(--body, "Manrope", Arial, sans-serif); text-align: center; cursor: pointer; }
.cookie-consent__button--primary { color: #062f68; background: #fff; border-color: #fff; }
.cookie-consent__button--secondary { color: #fff; background: transparent; }
.cookie-consent :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.cookie-consent__button:hover { filter: brightness(.92); }
.cookie-settings { width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); padding: 0; border: 0; color: #1d1d1b; background: #fff; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 90px #00152f44; }
.cookie-settings::backdrop { background: #04172fb3; }
.cookie-settings__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; color: #fff; background: #062f68; }
.cookie-settings__head h2 { margin: 0; font: 500 24px/1.3 var(--serif, Georgia, serif); }
.cookie-settings__close { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; color: inherit; background: transparent; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.cookie-settings__body { padding: 24px 26px 28px; }
.cookie-settings__body > p, .cookie-category p { margin: 0 0 12px; color: #526378; font-size: 14px; line-height: 1.7; }
.cookie-category { padding: 20px 0 8px; border-bottom: 1px solid #d7e0ea; }
.cookie-category__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.cookie-category__heading label { display: block; color: #062f68; font-size: 15px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.cookie-category__heading span { display: block; margin-top: 3px; color: #667487; font-size: 12px; }
.cookie-switch { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 44px; width: 44px; height: 26px; margin: 0; border: 1px solid #9aa9bc; border-radius: 15px; background: #d7e0ea; cursor: pointer; }
.cookie-switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #062f6833; }
.cookie-switch:checked { background: #0047ab; border-color: #0047ab; }
.cookie-switch:checked::before { left: 21px; }
.cookie-switch:disabled { opacity: .6; cursor: default; }
.cookie-settings__privacy { display: inline-block; margin-top: 20px; color: #0047ab; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings .cookie-consent__button--primary { color: #fff; background: #0047ab; border-color: #0047ab; }
.cookie-settings .cookie-consent__button--secondary { color: #062f68; border-color: #9aa9bc; }
.cookie-settings :focus-visible { outline: 2px solid #0047ab; outline-offset: 4px; }
.cookie-settings__head :focus-visible { outline-color: #fff; }
.error-footer [data-cookie-settings-open] { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
@media (max-width: 600px) {
  .cookie-consent { inset: auto 12px 12px; padding: 18px; max-height: calc(100dvh - 24px); overflow-y: auto; }
  .cookie-consent__actions { gap: 8px; }
  .cookie-consent__button { flex: 1 1 auto; padding-inline: 12px; }
  .cookie-settings__head { padding: 14px 20px; }
  .cookie-settings__body { padding: 20px; }
}
