.analytics-controls { position: fixed; z-index: 900; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; max-width: calc(100vw - 24px); font: 400 14px/1.5 var(--font-body, system-ui); color: var(--text, #191919); }
.analytics-preferences { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border, #c8c5bd); border-radius: 6px; background: var(--bg, #f8f5ed); color: inherit; font: inherit; cursor: pointer; }
.analytics-consent { width: 360px; max-width: calc(100vw - 24px); box-sizing: border-box; padding: 20px; margin-bottom: 8px; border: 1px solid var(--border, #c8c5bd); border-radius: 8px; background: var(--bg, #f8f5ed); box-shadow: 0 4px 20px #0002; }
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0 0 12px; font: inherit; color: inherit; }
.analytics-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; gap: 8px; margin-top: 16px; }
.analytics-actions button { flex: 1; min-height: 44px; border: 1px solid currentColor; border-radius: 6px; padding: 8px; color: inherit; background: transparent; font: 600 14px/1.3 var(--font-body, system-ui); cursor: pointer; }
.analytics-controls :focus-visible { outline: 2px solid var(--accent, #a92821); outline-offset: 3px; }
.analytics-consent .analytics-error:empty { display: none; }
.analytics-consent .analytics-error { margin-top: 12px; }
@media (max-width: 600px) { .analytics-controls { bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; } .analytics-preferences { font-size: 12px; } }
