.cookie-banner,
.cookie-panel,
.cookie-manage {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #101528;
}

.cookie-banner {
  position: fixed;
  z-index: 1000;
  inset: auto 18px 18px;
  padding: 24px;
  border: 1px solid #cbd2eb;
  background: #fff;
  box-shadow: 0 8px 30px rgba(16, 21, 40, 0.16);
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.cookie-banner__copy { flex: 1; min-width: 0; }
.cookie-banner__copy strong { display: block; margin-bottom: 8px; font-size: 18px; }
.cookie-banner__copy p,
.cookie-panel__head p { margin: 0; font-size: 15px; line-height: 1.55; }
.cookie-banner__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.cookie-banner__links a,
.cookie-panel__footer a { color: #263f9e; text-decoration: underline; font-size: 14px; }
.cookie-banner__actions,
.cookie-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__actions { flex: 0 0 350px; }
.cookie-banner .btn,
.cookie-panel .btn {
  min-height: 44px;
  flex: 1 1 auto;
  padding: 10px 14px;
  border: 1px solid #263f9e;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner .btn-primary,
.cookie-panel .btn-primary { color: #fff; background: #263f9e; }
.cookie-banner .btn-outline-primary,
.cookie-panel .btn-outline-primary { color: #263f9e; background: #fff; }
.cookie-banner .btn:hover,
.cookie-panel .btn:hover { color: #fff; background: #1d327e; }
.cookie-banner :focus-visible,
.cookie-panel :focus-visible,
.cookie-manage:focus-visible { outline: 2px solid #263f9e; outline-offset: 3px; }
.cookie-panel {
  position: fixed;
  z-index: 1002;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 21, 40, 0.5);
}
.cookie-panel.is-visible { display: flex; }
.cookie-panel__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
}
.cookie-panel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #263f9e;
  font-size: 28px;
  cursor: pointer;
}
.cookie-panel__head { padding-right: 32px; }
.cookie-panel__head strong { display: block; margin: 0 0 12px; font-size: 22px; }
.cookie-panel__options { margin: 24px 0; }
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #cbd2eb;
}
.cookie-option span { min-width: 0; }
.cookie-option strong { display: block; margin-bottom: 4px; }
.cookie-option small { display: block; font-size: 14px; line-height: 1.5; }
.cookie-option input { flex: 0 0 auto; width: 22px; height: 22px; accent-color: #263f9e; }
.cookie-panel__footer { display: grid; gap: 20px; padding-top: 16px; border-top: 1px solid #cbd2eb; }
.cookie-manage {
  position: fixed;
  z-index: 999;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid #cbd2eb;
  border-radius: 50%;
  background: #fff;
  color: #263f9e;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 21, 40, 0.12);
}
.cookie-manage__icon { display: flex; width: 26px; height: 26px; }
.cookie-manage__icon svg { width: 100%; height: 100%; }
.site-footer__bottom [data-cookie-consent-open] { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.contact-links .contact-link--unavailable { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.legal-copy h3 { margin: 32px 0 0; font-size: 20px; }
.legal-copy a:not(.button) { color: var(--blue); text-decoration: underline; }
.legal-copy code { overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .cookie-banner__inner { display: block; }
  .cookie-banner__actions { margin-top: 18px; }
}
@media (max-width: 480px) {
  .cookie-banner { inset: auto 10px 10px; max-height: calc(100dvh - 20px); overflow: auto; padding: 18px; }
  .cookie-banner .btn,
  .cookie-panel .btn { flex-basis: 100%; }
  .cookie-panel { padding: 10px; }
  .cookie-panel__dialog { max-height: calc(100dvh - 20px); padding: 22px; }
  .cookie-panel__head strong { font-size: 20px; }
}
