.pub-analytics { position: fixed; z-index: 100; right: 24px; bottom: 24px; width: min(620px, calc(100% - 48px)); box-sizing: border-box; padding: 22px; border: 1px solid #d4dcea; border-radius: 14px; background: #fff; color: #24334b; box-shadow: 0 10px 40px #16274026; font: 14px/1.7 sans-serif; }
.pub-analytics[hidden] { display: none; }
.pub-analytics p { margin: 0 0 12px; }
.pub-analytics p:first-child { font-weight: 700; font-size: 16px; }
.pub-analytics a { margin-left: 8px; color: #234e9f; text-decoration: underline; }
.pub-analytics > div { display: flex; gap: 12px; flex-wrap: wrap; }
.pub-analytics button { padding: 10px 18px; border: 1px solid #8c9ab0; border-radius: 6px; color: #24334b; background: #fff; font: inherit; cursor: pointer; }
.pub-analytics button:focus-visible { outline: 3px solid #3167ba; outline-offset: 3px; }
.pub-analytics button:hover { background: #edf2fa; }
[data-analytics-settings] { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) { .pub-analytics { right: 16px; bottom: 16px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow: auto; padding: 16px; box-sizing: border-box; } }
