/* Scoped additions only; existing page layouts remain unchanged. */
#analytics-consent[hidden], #analytics-settings button[hidden] { display: none !important; }
#analytics-consent { position: fixed; z-index: 1000; left: 1rem; bottom: 1rem; width: min(36rem, calc(100% - 2rem)); box-sizing: border-box; padding: 1rem 1.2rem; border: 1px solid #b7c5bb; border-radius: 12px; background: #fffef9; color: #203c34; box-shadow: 0 4px 20px #203c3426; }
#analytics-consent h2 { font-size: 1rem; margin: 0 0 .4rem; }
#analytics-consent p { font-size: .85rem; line-height: 1.65; margin: 0 0 .7rem; }
.analytics-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.analytics-actions button { font: inherit; font-size: .9rem; padding: .55rem .9rem; border: 1px solid #203c34; border-radius: 6px; color: #203c34; background: #fffef9; cursor: pointer; min-height: 44px; }
.analytics-actions a { color: #203c34; font-size: .85rem; text-decoration: underline; }
.analytics-actions button:hover { background: #edf1e8; }
.analytics-actions button:focus-visible, .analytics-actions a:focus-visible { outline: 3px solid #53774c; outline-offset: 3px; }
#analytics-settings { scroll-margin-top: 6rem; }
#analytics-status { font-weight: 600; }
@media (max-width: 480px) { #analytics-consent { padding: .8rem 1rem; } #analytics-consent p { font-size: .8rem; } }
