/* Non-modal enhancement: content, links and forms stay reachable. */
.analytics-consent[hidden], [data-consent-settings][hidden] { display: none !important; }
.analytics-consent { position: fixed; z-index: 100; inset: auto 0 0; width: 100%; max-height: 80vh; overflow: auto; display: grid; grid-template-columns: minmax(9rem,.55fr) minmax(18rem,1.45fr) minmax(20rem,1fr); column-gap: clamp(1.5rem,4vw,5rem); align-items: start; padding: 1.4rem 4.5%; border: 1px solid #ffffff38; border-width: 1px 0 0; border-radius: 0; background: rgba(24,37,33,.94); color: #f7f3eb; box-shadow: 0 -10px 36px #0003; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.analytics-consent h2 { grid-column: 1; grid-row: 1 / span 4; font: 400 1.15rem/1.35 Georgia,serif; letter-spacing: .02em; margin: .2rem 0 0; }
.analytics-consent p { grid-column: 2; font-size: .82rem; line-height: 1.55; margin: .15rem 0; color: #e6e1d8; }
.analytics-consent-actions { grid-column: 3; grid-row: 1 / span 4; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; margin: 0; }
.analytics-consent button, [data-consent-settings] { font: inherit; min-height: 44px; cursor: pointer; }
.analytics-consent-actions button { flex: 1 1 9rem; padding: .65rem; border: 1px solid #ffffff5c; border-radius: 0; background: #ffffff10; color: #f7f3eb; }
.analytics-consent-actions button:hover { background: #ffffff20; }
.analytics-consent a { color: #f7f3eb; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent button:focus-visible, [data-consent-settings]:focus-visible { outline: 3px solid #835319; outline-offset: 3px; }
@media (max-width: 850px) { .analytics-consent { display: block; padding: 1.25rem 6%; } .analytics-consent h2 { margin-bottom: .6rem; } .analytics-consent-actions { justify-content: stretch; margin-top: 1rem; } }
@media (max-width: 520px) { .analytics-consent { padding: 1.1rem 6% calc(1.1rem + env(safe-area-inset-bottom)); } .analytics-consent p { font-size: .78rem; } .analytics-consent-actions button { flex-basis: calc(50% - .35rem); } }
