.analytics-choice { font: 14px/1.45 system-ui, sans-serif; }
.analytics-choice summary, .analytics-choice button { cursor: pointer; }
.analytics-choice.first-visit[open] { position: fixed; inset: auto 14px 14px auto; z-index: 120; width: min(380px, calc(100vw - 28px)); box-sizing: border-box; background: #fff; color: #251e2b; border: 1px solid #cec7cf; border-radius: 12px; padding: 14px 18px; box-shadow: 0 4px 24px #26172c21; }
.analytics-choice p { max-width: 44ch; margin: 8px 0; }
.analytics-choice button { color: #251e2b; background: #fff; font: inherit; border: 1px solid #a59da5; border-radius: 6px; padding: 6px 10px; }

@media (max-width: 760px) {
  .analytics-choice[open] {
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 14px;
    background: #fff;
    color: #251e2b;
    border: 1px solid #cec7cf;
    border-radius: 8px;
  }

  .analytics-choice.first-visit[open] {
    position: static;
    inset: auto;
    z-index: auto;
    width: 100%;
    padding: 14px;
    box-shadow: none;
  }

  .analytics-choice button {
    min-height: 44px;
    margin-block: 2px;
  }

  .analytics-choice :is(summary, button):focus-visible {
    outline: 2px solid #524777;
    outline-offset: 2px;
  }
}
