html { scroll-padding-bottom: var(--analytics-space, 0px); }
body { padding-bottom: var(--analytics-space, 0px); }
.analytics-panel[hidden], .analytics-preferences[hidden] { display: none !important; }
.analytics-panel, .analytics-preferences { box-sizing: border-box; position: fixed; z-index: 10000; color: var(--bone, #F3F0ED); background: var(--ink, #181615); font-family: "Inter Tight", system-ui, sans-serif; }
.analytics-panel { right: 20px; bottom: 20px; width: min(470px, calc(100% - 40px)); padding: 22px; border: 1px solid #77716a; box-shadow: 0 8px 32px #0004; max-height: calc(100dvh - 40px); overflow-y: auto; }
.analytics-panel h2 { font: 600 22px/1.15 "Archivo", system-ui, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; color: inherit; }
.analytics-panel p { font-size: 15px; line-height: 1.4; margin: 0 0 12px; max-width: none; color: inherit; }
.analytics-panel a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.analytics-panel .analytics-status { font-size: 13px; margin-top: 10px; margin-bottom: 0; }
.analytics-actions { display: flex; gap: 10px; }
.analytics-actions button { flex: 1; min-height: 44px; padding: 10px 14px; background: transparent; border: 1px solid var(--bone, #F3F0ED); color: inherit; font: 500 15px/1.2 "Inter Tight", system-ui, sans-serif; cursor: pointer; }
.analytics-actions button:hover { background: var(--bone, #F3F0ED); color: var(--ink, #181615); }
.analytics-preferences { right: 16px; bottom: 8px; min-height: 40px; border: 1px solid #77716a; padding: 8px 12px; font-size: 12px; cursor: pointer; }
.analytics-panel :focus-visible, .analytics-preferences:focus-visible { outline: 3px solid var(--accent, #FF4F00); outline-offset: 4px; }
@media (max-width: 600px) { .analytics-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; max-height: calc(100dvh - 24px); } }
