.cc-statistics {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #f7faf3;
  background: #193b2c;
  border: 1px solid #5d806b;
  box-sizing: border-box;
}
.cc-statistics * { box-sizing: border-box; }
.cc-statistics h2 { margin: 0 0 8px; color: #f7faf3; font-size: 24px; line-height: 1.2; }
.cc-statistics p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.cc-statistics a { color: #d5f2c1; text-decoration: underline; text-underline-offset: .15em; }
#cookieChoiceInfo.cc-banner {
  position: fixed;
  z-index: 99990;
  inset: auto 20px 18px;
  width: min(1200px, calc(100% - 40px));
  max-height: min(70dvh, 440px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 6px 24px #142a2130;
}
.cc-statistics .cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.cc-banner .cc-actions { max-width: 360px; margin-top: 0; }
.cc-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #c1edaa;
  border-radius: 4px;
  background: #c1edaa;
  color: #163222;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cc-banner .cc-action { flex: 1 1 150px; }
.cc-action:hover { background: #e1f7d2; border-color: #e1f7d2; }
.cc-text-button { min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: #e1f7d2; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
.cc-statistics :focus-visible { outline: 2px solid #fcfcf7; outline-offset: 4px; }
#cc-statistics-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 26px;
  border-radius: 4px;
}
#cc-statistics-dialog::backdrop { background: #102b20b3; }
.cc-category { margin: 18px 0; padding-top: 14px; border-top: 1px solid #6e8d78; }
.cc-category label { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 700; }
.cc-category input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: #c1edaa; }
.cc-statistics .cc-small { font-size: 14px; }
.cc-preferences-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.cc-preferences-link:focus-visible { outline: 2px solid #245e41; outline-offset: 3px; }
.cc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  #cookieChoiceInfo.cc-banner { inset-inline: 10px; bottom: 10px; width: calc(100% - 20px); padding: 17px; grid-template-columns: 1fr; gap: 10px; }
  .cc-banner .cc-actions { max-width: none; }
  .cc-banner .cc-action { flex-basis: calc(50% - 5px); padding-inline: 8px; }
  .cc-statistics h2 { font-size: 22px; }
  #cc-statistics-dialog { padding: 19px; }
}

#cookieChoiceInfo.cc-statistics p,
#cc-statistics-dialog.cc-statistics p { color: #f7faf3; }

#cookieChoiceInfo.cc-banner[hidden] { display: none; }
html.cc-dialog-open { overflow: hidden; scrollbar-gutter: stable; }
html.cc-dialog-open body { overflow: hidden; }
#cc-statistics-dialog {
  overscroll-behavior: contain;
  max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
}
@media (max-width: 760px) {
  #cc-statistics-dialog {
    padding: max(19px, env(safe-area-inset-top)) max(19px, env(safe-area-inset-right)) max(19px, env(safe-area-inset-bottom)) max(19px, env(safe-area-inset-left));
  }
}
