/* Scoped optional-analytics UI; no font download, no layout reflow, no global rules. */
.am-consent[hidden], .am-consent [hidden] { display: none !important; }
.am-consent { box-sizing: border-box; position: fixed; z-index: 1200; left: 24px; bottom: 24px; width: min(470px, calc(100vw - 48px)); max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 25px; color: #262321; background: #faf8f5; border: 1px solid #b9b2aa; box-shadow: 0 8px 36px #18161424; font-family: Poppins, sans-serif; font-size: 13px; line-height: 1.65; text-align: left; scroll-snap-align: none; }
.am-consent h2 { color: inherit; margin: 0 0 10px; font-family: inherit; font-size: 18px; line-height: 1.4; font-weight: 600; text-transform: none; letter-spacing: 0; }
.am-consent p { margin: 0 0 10px; max-width: none; font-size: inherit; line-height: inherit; }
.am-consent .am-consent-detail { font-size: 12px; color: #554e47; }
.am-consent a { color: #36302b; text-decoration: underline; text-underline-offset: 3px; }
.am-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.am-consent-actions button { appearance: none; min-height: 44px; padding: 10px 9px; border: 1px solid #39332d; border-radius: 0; background: #faf8f5; color: #262321; font: 500 12px/1.4 Poppins, sans-serif; cursor: pointer; text-align: center; }
.am-consent-actions button:hover { background: #ebe5dd; }
.am-consent button:focus-visible, .am-consent a:focus-visible, .am-consent-preferences:focus-visible { outline: 2px solid #796456; outline-offset: 4px; }
.am-consent .am-consent-status { margin-top: 10px; font-size: 12px; }
.am-consent-close, .am-consent-preferences { appearance: none; border: 0; border-radius: 0; padding: 10px 0; background: transparent; color: inherit; font: inherit; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.am-consent-preferences { flex: 0 0 auto; }
@media (max-width: 600px) { .am-consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100svh - 24px); padding: 18px; font-size: 12px; } .am-consent h2 { font-size: 17px; } .am-consent-actions { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .am-consent, .am-consent * { scroll-behavior: auto; } }
