/* Small, non-modal consent panel; existing site layout is unchanged. */
.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 10; right: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 6px 30px #183c3326; max-height: calc(100dvh - 40px); overflow-y: auto; }
.analytics-consent p { font-size: 13px; line-height: 1.55; }
.analytics-consent strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 8px; }
.analytics-actions { display: flex; gap: 12px; margin-top: 16px; }
.analytics-actions button { flex: 1; min-height: 44px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.analytics-actions button:hover { background: var(--sage); }
.analytics-settings { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 699px) {
  .analytics-consent { right: 16px; width: calc(100% - 32px); bottom: calc(var(--call-bar-space) + env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - var(--call-bar-space) - env(safe-area-inset-bottom, 0px) - 16px); padding: 16px; }
  .analytics-settings { font-size: 12px; }
}
