.analytics-panel[hidden], [data-analytics-settings][hidden], .analytics-storage-status[hidden] { display: none !important; }
.analytics-panel { box-sizing: border-box; position: fixed; z-index: 120; right: 24px; bottom: 24px; width: min(490px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 24px; background: #f5f3ec; color: #10191e; border: 1px solid #74828a; box-shadow: 0 8px 36px #0003; }
.analytics-panel h2 { margin: 0 0 10px; font: 700 20px/1.2 Arial, sans-serif; letter-spacing: -.02em; }
.analytics-panel p { margin: 0; color: #394951; font: 400 14px/1.5 Arial, sans-serif; }
.analytics-panel a { color: #1646c7; text-decoration: underline; text-underline-offset: 3px; }
.analytics-panel .analytics-status { margin-top: 12px; color: #10191e; font-weight: 700; }
.analytics-panel .analytics-storage-status { margin-top: 8px; }
.analytics-panel .analytics-actions { display: flex; gap: 10px; margin-top: 18px; }
.analytics-panel button { min-height: 44px; padding: 10px 18px; border: 1px solid #243943; border-radius: 4px; background: transparent; color: #10191e; cursor: pointer; font: 700 14px/1.2 Arial, sans-serif; }
.analytics-panel .analytics-accept { background: #1646c7; border-color: #1646c7; color: #fff; }
.analytics-panel button:focus-visible, .analytics-panel a:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #285aff; outline-offset: 3px; }
.footer-nav .analytics-settings { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 600px) {
  .analytics-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; }
  .analytics-panel .analytics-actions > button { flex: 1; padding-inline: 10px; }
}
