/* Local, nonmodal analytics consent UI. No external dependencies. */
.analytics-consent { font: .875rem/1.5 var(--sans, Arial, sans-serif); color: var(--ink, #252724); }
.analytics-consent .analytics-consent__link { padding: .35rem 0; border: 0; background: transparent; color: var(--accent, #42594d); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.analytics-consent .analytics-consent__footer-link { padding: 0; text-align: left; color: #4d433d; font: 11.5px/1.4 Arial, Helvetica, sans-serif; text-decoration: none; }
.analytics-consent .analytics-consent__footer-link:hover { text-decoration: underline; }
.analytics-consent__panel { position: fixed; z-index: 80; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); width: min(27rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; padding: 1.15rem; background: #fff; border: 1px solid var(--line, #e4e4df); border-radius: .75rem; box-shadow: 0 .4rem 1.8rem rgb(37 39 36 / 16%); text-align: left; }
.analytics-consent__panel p { margin: 0 0 .9rem; font: inherit; color: inherit; }
.analytics-consent__panel a { color: var(--accent, #42594d); font: inherit; text-decoration: underline; text-underline-offset: .2em; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; }
.analytics-consent__actions button { cursor: pointer; font: 600 .85rem/1.3 var(--sans, Arial, sans-serif); }
.analytics-consent__primary, .analytics-consent__secondary { min-height: 2.5rem; border: 1px solid var(--accent, #42594d); border-radius: .35rem; padding: .55rem 1rem; }
.analytics-consent__primary { background: var(--accent, #42594d); color: white; }
.analytics-consent__primary:hover { background: var(--accent-dark, #2f4138); }
.analytics-consent__secondary { background: white; color: var(--accent, #42594d); }
.analytics-consent__secondary:hover { background: #f7f6f2; }
.analytics-consent__heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.analytics-consent__heading h2 { margin: 0; color: var(--ink, #252724); font: 600 1.15rem/1.3 var(--sans, Arial, sans-serif); }
.analytics-consent__close { flex: 0 0 2.5rem; height: 2.5rem; background: transparent; color: var(--accent, #42594d); border: 0; cursor: pointer; font: 1.6rem/1 Arial, sans-serif; }
.analytics-consent__option { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 0; border-top: 1px solid var(--line, #e4e4df); }
.analytics-consent__option p, .analytics-consent__description { display: block; margin: .25rem 0 0; color: #5f665e; font-size: .8rem; }
.analytics-consent__always { flex: 0 0 auto; color: #42594d; font-size: .75rem; font-weight: 600; }
.analytics-consent__switch { appearance: none; position: relative; flex: 0 0 2.8rem; width: 2.8rem; height: 1.65rem; margin: 0; border: 1px solid #747a72; border-radius: 2rem; background: #e4e4df; cursor: pointer; }
.analytics-consent__switch::before { content: ""; position: absolute; top: .15rem; left: .15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: white; box-shadow: 0 1px 3px #0003; }
.analytics-consent__switch:checked { background: var(--accent, #42594d); border-color: var(--accent, #42594d); }
.analytics-consent__switch:checked::before { left: auto; right: .15rem; }
.analytics-consent__panel [data-analytics-status] { margin: .75rem 0 0; color: #7d332d; font-size: .8rem; }
.analytics-consent :focus-visible { outline: 2px solid var(--accent, #42594d); outline-offset: 3px; }
@media (max-width: 32rem) { .analytics-consent__panel { right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); width: min(27rem, calc(100vw - 1.5rem)); padding: 1rem; } }
