[data-analytics-settings] {
  width: auto;
  min-height: 0;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  box-shadow: none;
  text-decoration: underline;
}
[data-analytics-settings]:hover {
  background: none;
  transform: none;
}
.guidasha-analytics-consent {
  position: fixed;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 100;
  box-sizing: border-box;
  width: min(380px, calc(100% - 24px));
  max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
  overflow-y: auto;
  padding: 12px;
  color: var(--guidasha-soft-white);
  background: var(--guidasha-night);
  border: 1px solid var(--guidasha-dark-divider);
  border-radius: 8px;
  box-shadow: 0 3px 14px #0003;
  font: 13px/1.45 Lato, sans-serif;
}
.guidasha-analytics-consent[hidden], [data-analytics-settings][hidden] { display: none; }
.guidasha-analytics-consent p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0 0 12px;
  color: inherit;
  font: inherit;
}
.guidasha-analytics-consent a {
  color: var(--guidasha-periwinkle);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.guidasha-analytics-consent > div { display: flex; gap: 12px; flex-wrap: wrap; }
.guidasha-analytics-consent button {
  width: auto;
  min-height: 34px;
  border: 1px solid var(--guidasha-dark-outline-variant);
  border-radius: 5px;
  padding: 5px 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  box-shadow: none;
  cursor: pointer;
}
.guidasha-analytics-consent button:hover {
  background: var(--guidasha-dark-surface);
  border-color: var(--guidasha-dark-outline);
  transform: none;
}
.guidasha-analytics-consent button:focus-visible, [data-analytics-settings]:focus-visible {
  outline: 2px solid var(--guidasha-periwinkle);
  outline-offset: 3px;
}
@media (pointer: coarse) {
  .guidasha-analytics-consent button { min-height: 40px; }
}
