/* Loaded only when analytics can run: see templates/_analytics.html. */
/* Privacy notice and its footer control. Sits on the page's secondary ground with
   a copper hairline: text is never boxed, night is kept for the footer, and it
   never blocks the page or moves. Above the floating buttons, under the filter
   sheet and the wait screen. */
.sda-privacy-note { position: fixed; inset: auto 0 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: var(--sda-space-4); padding: var(--sda-space-3) max(var(--sda-space-4), env(safe-area-inset-right)) calc(var(--sda-space-3) + env(safe-area-inset-bottom)) max(var(--sda-space-4), env(safe-area-inset-left)); background: var(--sda-panel); color: var(--sda-ink); border-top: var(--sda-rule-warm); }
.sda-privacy-note[hidden], .sda-privacy-note [hidden] { display: none; }
.sda-privacy-note p { margin: 0; max-width: 68ch; font: 1rem/1.5 var(--sda-serif); }
.sda-privacy-note a { display: inline; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sda-privacy-note .sda-privacy-note__status { margin-top: var(--sda-space-2); color: var(--sda-ink-soft); font-style: italic; }
.sda-privacy-note__actions { display: flex; flex: none; align-items: center; gap: var(--sda-space-4); font: 500 .88rem/1 var(--sda-sans); }
.sda-privacy-note__actions .sda-btn--small { min-height: 44px; }
.sda-footer__choices { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.sda-footer__choices:hover { color: var(--sda-night-ink); }
@media (max-width: 560px) { .sda-privacy-note { flex-direction: column; align-items: stretch; gap: var(--sda-space-3); } .sda-privacy-note__actions { justify-content: space-between; } }
