/* Scoped consent controls; existing page layout and navigation stay intact. */
.analytics-consent{position:fixed;inset:auto 20px 20px;z-index:100;background:var(--paper,#faf8f2);color:var(--ink,#253c38);border:1px solid var(--line,#dadcd0);border-radius:8px;padding:20px 24px;box-shadow:0 5px 28px #253c3826;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:14px;line-height:1.5;max-height:80vh;overflow:auto}
.analytics-consent[hidden]{display:none}
.analytics-consent>div:first-child{max-width:760px}
.analytics-consent p{margin:6px 0}
.analytics-consent a{text-decoration:underline;text-underline-offset:3px}
.analytics-consent-actions{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}
.analytics-consent button{min-height:44px;padding:10px 16px;border:1px solid var(--teal,#245752);border-radius:5px;background:transparent;color:inherit;white-space:nowrap;font:inherit}
.analytics-consent button[data-consent=accepted]{background:var(--teal,#245752);color:#fffdf6}
.analytics-settings{background:none;border:0;padding:8px 0;min-height:44px;font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){.analytics-consent{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:480px){.analytics-consent{inset:auto 10px 10px;padding:16px}.analytics-consent-actions{width:100%}.analytics-consent-actions button{flex:1;white-space:normal}}
