.analytics-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147483100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  width: min(720px, calc(100% - 40px));
  padding: 18px;
  color: #f8fbff;
  background: #071126;
  border: 1px solid rgba(191, 219, 254, .38);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 17, 38, .28);
}

.analytics-consent strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.analytics-consent p {
  margin: 0 0 7px;
  color: #dbeafe;
  font-size: .92rem;
  line-height: 1.5;
}

.analytics-consent a {
  color: #93c5fd;
  font-weight: 800;
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
}

.analytics-consent button,
.analytics-settings {
  min-height: 42px;
  padding: 0 14px;
  color: inherit;
  font: inherit;
  font-weight: 850;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer;
}

.analytics-consent button.primary {
  color: #fff;
  background: #0866ff;
  border-color: #0866ff;
}

.analytics-settings {
  min-height: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  background: none;
  border: 0;
}

.analytics-consent button:focus-visible,
.analytics-settings:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

@media (max-width: 680px) {
  body.analytics-consent-open .svx-assist__launcher {
    top: 46%;
    bottom: auto;
  }

  .analytics-consent {
    left: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    gap: 10px;
    padding: 12px;
    overflow: auto;
  }

  .analytics-consent strong {
    margin-bottom: 3px;
    font-size: .95rem;
  }

  .analytics-consent p {
    margin-bottom: 5px;
    font-size: .82rem;
    line-height: 1.35;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .analytics-consent button {
    min-height: 40px;
    padding: 0 10px;
    font-size: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent,
  .analytics-consent * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
