.analytics-consent {
  position: fixed;
  z-index: 100;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 20px 24px;
  color: #111111;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgb(0 0 0 / 12%);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
}

.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0; }
.analytics-consent a { color: #245bbd; text-decoration: underline; }
.analytics-choices { display: flex; flex-shrink: 0; gap: 8px; }
.analytics-consent button {
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid #c4cdd9;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.analytics-consent button[data-choice="accepted"] { background: #245bbd; color: #ffffff; border-color: #245bbd; }
.analytics-settings {
  display: block;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.analytics-settings:hover { text-decoration: underline; }
.analytics-consent :focus-visible, .analytics-settings:focus-visible { outline: 2px solid #245bbd; outline-offset: 3px; }

@media (max-width: 760px) {
  .analytics-consent { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; }
  .analytics-choices { flex-wrap: wrap; }
  .analytics-choices button { flex: 1 1 150px; }
}
