#cookie-ui {
  font-family: Manrope, sans-serif;
  color: #173453;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner {
  position: fixed;
  z-index: 10000;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 28px #051a3920;
}
.cookie-eyebrow {
  font-size: 10px !important;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: #426a96;
  margin: 0 0 8px !important;
}
.cookie-dialog h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}
.cookie-dialog p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 12px;
}
#cookie-ui a {
  color: #164f92;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.cookie-copy {
  min-width: 0;
}
.cookie-copy h2 {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 3px;
}
.cookie-copy p {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
#cookie-ui .cookie-actions button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 8px;
}
#cookie-ui button,
.cookie-map-placeholder button {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #0b397b;
  border-radius: 8px;
  background: #0b397b;
  color: #fff;
  cursor: pointer;
  line-height: 1.4;
}
#cookie-ui button:hover,
.cookie-map-placeholder button:hover {
  background: #164f92;
}
#cookie-ui .cookie-secondary {
  background: #fff;
  color: #0b397b;
  border-color: #c8d6e6;
}
#cookie-ui :focus-visible,
.cookie-map-placeholder :focus-visible {
  outline: 3px solid #3686d7;
  outline-offset: 3px;
}
.cookie-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: 85dvh;
  margin: auto;
  padding: 28px;
  border: 1px solid #d5e2f0;
  border-radius: 18px;
  color: #173453;
  background: #fff;
  box-shadow: 0 20px 80px #051a3933;
  overflow: auto;
}
.cookie-dialog::backdrop {
  background: #051a3980;
  backdrop-filter: blur(3px);
}
.cookie-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
#cookie-ui .cookie-close {
  background: #eff4fa;
  color: #173453;
  border: 0;
  font-size: 24px;
  padding: 0;
  width: 44px;
  flex-shrink: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #e1e9f2;
}
.cookie-category h3,
.cookie-category strong {
  display: block;
  font-size: 14px;
  margin: 0 0 6px;
}
.cookie-category p,
.cookie-category label,
.cookie-category > span > span {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
  color: #526980;
}
.cookie-always,
.cookie-inactive {
  font-size: 10px;
  white-space: nowrap;
  padding: 6px 9px;
  background: #edf4fb;
  border-radius: 6px;
  color: #315b86;
}
.cookie-category input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: #0b397b;
  cursor: pointer;
}
.cookie-details {
  padding: 14px;
  background: #f4f7fb;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
}
.cookie-details summary {
  font-weight: 700;
  cursor: pointer;
}
.cookie-details dt {
  margin-top: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.cookie-details dd {
  margin: 5px 0 0;
}
.cookie-policy-links {
  margin-top: 16px !important;
}
.cookie-dialog-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.cookie-status {
  position: fixed;
  z-index: 10002;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  background: #0b397b;
  color: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}
.cookie-status.is-visible {
  opacity: 1;
}
.footer-cookie-settings {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  height: 100%;
  padding: 30px;
  text-align: center;
  background: #edf3fa;
  color: #173453;
}
.cookie-map-placeholder strong {
  font-size: 22px;
}
.cookie-map-placeholder p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.cookie-map-placeholder a {
  font-size: 13px;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 14px;
    max-height: 60dvh;
    overflow: auto;
  }
  .cookie-actions {
    flex-wrap: wrap;
  }
  .cookie-actions button {
    flex: 1;
  }
  .cookie-dialog {
    padding: 20px;
  }
  .cookie-category {
    gap: 12px;
  }
  .cookie-always,
  .cookie-inactive {
    white-space: normal;
    text-align: center;
  }
}
.cookie-banner {
  top: auto;
  width: calc(100% - 32px);
  max-width: 1240px;
  max-height: 60dvh;
  margin: 0 auto;
  box-sizing: border-box;
  border: 1px solid #d5e2f0;
  color: #173453;
  overflow: auto;
}
.cookie-page-shade {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 26, 57, 0.28);
  touch-action: pan-y;
}
.cookie-page-shade[hidden] {
  display: none;
}

.cookie-policy-dialog {
  width: min(740px, calc(100% - 32px));
  max-height: min(820px, 88dvh);
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}
.cookie-policy-dialog[open] {
  display: flex;
  flex-direction: column;
}
.cookie-policy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  padding: 26px 32px 22px;
  border-bottom: 1px solid #e1e9f2;
  background: #f8fafd;
}
.cookie-policy-header h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.cookie-policy-header .cookie-policy-date {
  font-size: 12px;
  color: #637890;
  margin: 0;
}
.cookie-policy-header form {
  margin: 0;
}
.cookie-policy-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 26px 32px 32px;
  scrollbar-width: thin;
  scrollbar-color: #bccbdd transparent;
}
.cookie-policy-body .legal-document {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  color: #344c64;
}
.cookie-policy-body .legal-document h2 {
  font-size: 19px;
  line-height: 1.4;
  margin: 28px 0 12px;
  padding-top: 22px;
  border-top: 1px solid #e8eef5;
  letter-spacing: -0.02em;
}
.cookie-policy-body .legal-document h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 22px 0 8px;
  color: #173453;
}
.cookie-policy-body .legal-document p,
.cookie-policy-body .legal-document li {
  font-size: 13px;
  line-height: 1.85;
}
.cookie-policy-body .legal-document p {
  margin: 0 0 14px;
}
.cookie-policy-body .legal-document ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.cookie-policy-body .legal-document li {
  margin: 0 0 7px;
}
@media (max-width: 600px) {
  .cookie-policy-dialog {
    width: calc(100% - 24px);
    max-height: 90dvh;
    border-radius: 16px;
  }
  .cookie-policy-header {
    padding: 20px;
    gap: 12px;
  }
  .cookie-policy-header h2 {
    font-size: 21px;
  }
  .cookie-policy-body {
    padding: 20px;
  }
  .cookie-policy-body .legal-document h2 {
    font-size: 18px;
  }
}
