/* Deliberately scoped so diagnostics controls do not restyle the product. */
.apovant-analytics-consent[hidden] { display: none !important; }
.apovant-analytics-consent {
  position: fixed; inset: auto 16px 16px auto; z-index: 10000;
  box-sizing: border-box; width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px); overflow: auto;
  padding: 20px; border: 1px solid #c7d3cb; border-radius: 12px;
  background: #fff; color: #15271d; box-shadow: 0 8px 32px #112a1929;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
.apovant-analytics-consent strong { display: block; font-size: 16px; font-weight: 650; }
.apovant-analytics-consent p { margin: 8px 0 16px; color: #39483f; font-size: 14px; line-height: 1.5; }
.apovant-analytics-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.apovant-analytics-actions button {
  margin: 0; padding: 9px 13px; min-height: 42px; width: auto; border-radius: 6px;
  background: #fff; border: 1px solid #728279; color: #15271d;
  font: inherit; font-weight: 550; cursor: pointer;
}
.apovant-analytics-actions button:first-child { background: #153e2a; color: #fff; border-color: #153e2a; }
.apovant-analytics-actions a { color: #294b37; text-decoration: underline; margin-left: 2px; }
.apovant-analytics-settings {
  display: inline-block; margin: 12px 0; padding: 6px 8px; width: auto; min-height: 32px;
  border: 0; border-radius: 4px; background: transparent; color: #546159;
  font: 12px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: underline; cursor: pointer;
}
.apovant-analytics-settings:focus-visible, .apovant-analytics-consent button:focus-visible, .apovant-analytics-consent a:focus-visible {
  outline: 3px solid #41835b; outline-offset: 3px;
}
@media (max-width: 480px) {
  .apovant-analytics-consent { inset: auto 12px 12px; width: auto; padding: 16px; }
}
