.privacy-footer { width: min(1180px, calc(100% - 32px)); margin: 16px auto 28px; color: inherit; font: 14px/1.7 system-ui, sans-serif; overflow-wrap: anywhere; clear: both; }
.privacy-footer p { margin: 8px 0; font-size: inherit; line-height: inherit; }
.privacy-footer summary { cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.privacy-footer summary:focus-visible, .privacy-footer input:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.privacy-footer .privacy-content { max-width: 850px; padding-top: 6px; }
.privacy-footer .privacy-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.privacy-footer .privacy-toggle input { appearance: auto; width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 0; }
.privacy-footer [data-statistics-status] { font-weight: 600; }
footer.privacy-only-footer { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }

/* Shared footer rhythm across all tools and both locales. */
footer.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-bottom: 0; margin-bottom: 0; font-size: 12px; line-height: 1.6; }
footer.site-footer > p { margin: 0; flex: 1; }
footer.site-footer .footer-feedback { margin-left: auto; color: var(--muted, inherit); font: inherit; overflow-wrap: anywhere; }
footer.site-footer .footer-back-top { order: 10; flex-shrink: 0; white-space: nowrap; }
footer.site-footer + .privacy-footer { width: min(1180px, calc(100% - 40px)); margin: 16px auto 28px; font-family: inherit; font-size: 12px; line-height: 1.6; color: var(--muted, inherit); }
footer.site-footer + .privacy-footer p { margin: 0; }
@media (max-width: 760px) {
 footer.site-footer { gap: 12px 16px; }
 footer.site-footer > p { flex-basis: 60%; }
 footer.site-footer .footer-feedback { margin-left: 0; flex: 1; }
}

.privacy-footer [data-advertising-privacy] h2 { font-size: 1em; line-height: 1.6; margin: 8px 0; }
.privacy-footer [data-advertising-privacy] p { margin: 8px 0; }
.privacy-footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.privacy-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
