.cookie-banner[hidden] {
  display: none;
}
.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 38px;
  background: #fff;
  color: #1b1e20;
  border: 1px solid #d4d6d2;
  box-shadow: 0 12px 60px #0004;
  padding: 29px 35px;
  border-top: 3px solid #ee361d;
}
.cookie-kicker {
  font:
    700 9px Arial,
    sans-serif;
  letter-spacing: 1.6px;
  color: #be2c18;
}
.cookie-copy {
  flex: 1;
}
.cookie-copy h2 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 10px 0;
}
.cookie-copy p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 620px;
  margin: 0;
  color: #53585a;
}
.cookie-copy a,
.cookie-dialog a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 300px;
  padding-right: 10px;
}
.cookie-choice,
.cookie-save {
  background: #24282a;
  border: 1px solid #24282a;
  color: #fff;
  font:
    700 12px Arial,
    sans-serif;
  cursor: pointer;
  padding: 15px 20px;
  white-space: nowrap;
}
.cookie-choice:hover,
.cookie-save:hover {
  background: #44494d;
}
.cookie-settings {
  grid-column: 1/-1;
  padding: 8px;
  background: transparent;
  color: #292d30;
  border: 0;
  text-decoration: underline;
  font:
    12px Arial,
    sans-serif;
  cursor: pointer;
}
.cookie-close {
  position: absolute;
  right: 10px;
  top: 8px;
  background: transparent;
  border: 0;
  color: #45494b;
  font-size: 25px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  line-height: 1;
}
.cookie-footer-button {
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.cookie-footer-button:hover {
  text-decoration: underline;
}
.cookie-banner-visible .floating {
  visibility: hidden;
}
.cookie-dialog {
  width: min(580px, calc(100% - 30px));
  max-height: 85dvh;
  overflow: auto;
  border: 0;
  background: #fff;
  color: #1b1e20;
  padding: 30px;
  box-shadow: 0 15px 70px #0006;
}
.cookie-dialog::backdrop {
  background: #0009;
}
.cookie-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.cookie-dialog h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 12px 0;
}
.cookie-dialog-close {
  background: transparent;
  border: 0;
  font-size: 28px;
  color: #45494b;
  cursor: pointer;
  padding: 0 4px;
}
.cookie-dialog > p {
  font-size: 13px;
  line-height: 1.8;
  color: #62686b;
}
.cookie-category {
  padding: 20px 0;
  border-top: 1px solid #dedfdb;
}
.cookie-category > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.cookie-category h3 {
  font-size: 15px;
  margin: 0;
}
.cookie-category span {
  color: #555d60;
  font-size: 10px;
  background: #eceee9;
  padding: 7px 10px;
}
.cookie-category p {
  font-size: 12px;
  color: #62686b;
  line-height: 1.8;
  margin: 10px 0 0;
}
.cookie-dialog-note {
  font-size: 11px !important;
}
.cookie-save {
  width: 100%;
  margin-top: 12px;
}
.cookie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.cookie-table-wrap {
  overflow: auto;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  line-height: 1.8;
}
.cookie-table caption {
  text-align: left;
  font-weight: bold;
  padding-bottom: 15px;
}
.cookie-table th,
.cookie-table td {
  padding: 14px 12px;
  border: 1px solid #d2d4ce;
  vertical-align: top;
}
.cookie-table code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.cookie-table th {
  background: #e9eae4;
}
@media (max-width: 800px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 24px;
    display: block;
  }
  .cookie-copy h2 {
    font-size: 21px;
  }
  .cookie-copy p {
    font-size: 12px;
  }
  .cookie-actions {
    margin-top: 18px;
    min-width: 0;
    padding: 0;
  }
  .cookie-choice {
    padding: 14px 12px;
  }
  .cookie-dialog {
    padding: 24px;
  }
  .cookie-dialog h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-dialog {
    scroll-behavior: auto;
  }
}
/* Same readable base size in the consent interface. */
.cookie-copy p,
.cookie-dialog > p,
.cookie-category p,
.cookie-dialog-note,
.cookie-category span,
.cookie-choice,
.cookie-save,
.cookie-settings,
.cookie-footer-button,
.cookie-table,
.cookie-table code,
.cookie-kicker {
  font-size: 14px !important;
  line-height: 1.65;
}
.cookie-banner {
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.cookie-copy h2 {
  font-size: 24px;
}
.cookie-dialog h2 {
  font-size: 26px;
}
.cookie-choice,
.cookie-save {
  padding: 8px 16px;
  min-height: 44px;
  line-height: 20px !important;
}
