/* The analytics choice: a calm note at the page's edge that never sits on a page's own call to action.
   Wide screens: a slim card in the bottom-left corner, where the pages keep their reading copy (the
   hero's live art sits on the right), one row from 1181px. Narrow screens: a slim bar flush with the bottom edge. While it is open the page
   reserves its height (analytics.js sets --consent-space), so every control can scroll clear of it. */
.analytics-choice { position:fixed; left:20px; bottom:max(20px,env(safe-area-inset-bottom)); width:min(372px,calc(100% - 40px)); z-index:90; display:grid; grid-template-columns:30px 1fr; column-gap:12px; padding:14px 16px 16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:var(--shadow-float); color:var(--ink); }
.analytics-choice>img { grid-row:span 2; width:30px; height:36px; margin-top:2px; }
.analytics-choice p { font-size:14px; font-weight:800; margin:0 0 3px; }
.analytics-choice span { display:block; font-size:12px; line-height:1.55; color:var(--ink-2); }
.analytics-choice .analytics-actions { grid-column:2; display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; }
.analytics-choice button,#analytics-settings button { min-height:44px; padding:10px 14px; border:1px solid var(--ink); border-radius:6px; background:var(--surface); color:var(--ink); font:600 12px Manrope,sans-serif; cursor:pointer; }
.analytics-choice button { min-height:38px; padding:8px 13px; }
.analytics-choice button:first-child { background:var(--ink); color:var(--paper); }
.analytics-choice button:hover { background:var(--peach); color:var(--ink); }
.analytics-choice a { margin-left:4px; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
@media (min-width:1181px) {
 .analytics-choice { width:min(640px,calc(50vw - 40px)); grid-template-columns:28px 1fr auto; align-items:center; column-gap:14px; padding:12px 14px 12px 16px; }
 .analytics-choice>img { grid-row:auto; width:28px; height:33px; margin:0; }
 .analytics-choice p { display:inline; font-size:13px; margin:0 4px 0 0; }
 .analytics-choice span { display:inline; }
 .analytics-choice .analytics-actions { grid-column:3; flex-wrap:nowrap; margin:0; }
}
html.consent-open { scroll-padding-bottom:calc(var(--consent-space,0px) + 16px); }
html.consent-open body { padding-bottom:var(--consent-space,0px); }
@media (max-width:900px) {
 .analytics-choice { left:0; right:0; bottom:0; width:auto; grid-template-columns:24px 1fr; column-gap:10px; padding:12px 16px max(12px,env(safe-area-inset-bottom)); border-width:1px 0 0; border-radius:0; box-shadow:0 -10px 28px #1c19170f; }
 .analytics-choice>img { width:24px; height:29px; }
 .analytics-choice p { display:inline; font-size:13px; margin:0 4px 0 0; }
 .analytics-choice span { display:inline; }
 .analytics-choice .analytics-actions { margin-top:8px; }
 .analytics-choice button { min-height:44px; }
}
#analytics-settings button:disabled { opacity:.65; cursor:default; }
#analytics-settings { display:flex; flex-wrap:wrap; gap:10px; }
