.analytics-consent {
  position: fixed;
  z-index: 40;
  inset: auto 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 1120px;
  max-height: min(80svh, 620px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 27px 30px;
  color: #f4f1ea;
  background: #173f43;
  border: 1px solid #a6b8ad80;
  border-radius: 4px;
  box-shadow: 0 16px 50px #0d2b3038;
  font-family: Manrope, Arial, sans-serif;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent .analytics-consent-title {
  margin: 0 0 10px;
  color: #f4f1ea;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -.025em;
}
.analytics-consent p {
  margin: 0;
  color: #e1e7df;
  font-size: 12px;
  line-height: 1.8;
}
.analytics-consent .analytics-consent-status { margin-top: 8px; color: #c7d5c9; }
.analytics-consent .analytics-consent-status:empty { display: none; }
.analytics-consent-details { margin-top: 10px; }
.analytics-consent-details summary {
  display: list-item;
  width: fit-content;
  padding: 2px 0;
  color: #f4f1ea;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
  text-underline-offset: 4px;
}
.analytics-consent-details summary:hover { text-decoration: underline; }
.analytics-consent-details p { margin-top: 10px; }
.analytics-consent-details a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-new-tab { font-size: 10px; }
.analytics-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 10px;
  padding-top: 2px;
}
.analytics-consent-actions button {
  min-height: 44px;
  padding: 11px 16px;
  color: #173f43;
  background: #f4f1ea;
  border: 1px solid #f4f1ea;
  border-radius: 2px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.analytics-consent-actions button:hover { background: #dce4d9; border-color: #dce4d9; }
.analytics-consent-actions .analytics-consent-dismiss {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 36px;
  padding: 5px 0;
  color: #f4f1ea;
  background: transparent;
  border-color: transparent;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.analytics-consent-actions .analytics-consent-dismiss:hover { color: #c7d5c9; background: transparent; border-color: transparent; }
.analytics-consent :is(button, a, summary, [tabindex]):focus-visible { outline: 2px solid #f4f1ea; outline-offset: 5px; }
[data-analytics-preferences] {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
@media (max-width: 680px) {
  .analytics-consent { inset: auto 12px 12px; display: block; padding: 22px; }
  .analytics-consent-actions { margin-top: 18px; }
  .analytics-consent .analytics-consent-title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .analytics-consent-actions button { transition: none; } }
