/* The consent panel stays in normal flow after <main>, before the footer.
   Do not convert it to a fixed/sticky overlay: tool controls must remain unobscured.
   Check all four languages at 320px and with 200% text; buttons have equal weight. */
.analytics-consent{margin-block:16px 24px;scroll-margin-block:12px}
.analytics-consent:focus{outline:2px solid var(--green,#245c43);outline-offset:4px}
.analytics-consent-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:9px 14px;border:1px solid var(--line,#dfe5d9);border-radius:10px;background:var(--paper,#fff);color:var(--ink,#172e27)}
.analytics-consent-copy{flex:1 1 24rem;min-width:0;font-size:14px;line-height:1.55}
.analytics-consent p{margin:0;overflow-wrap:anywhere}
.analytics-details{display:inline-flex;flex:0 1 auto;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px;font-size:14px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;font-weight:600;overflow-wrap:anywhere}
.analytics-state{font-size:14px;color:var(--muted,#56664f)}
.analytics-actions{display:flex;flex:0 1 16em;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.analytics-choices{display:flex;flex:1 1 11em;min-width:0;gap:6px;font-size:15px}
.analytics-choice{flex:1 1 0;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--green,#245c43);border-radius:7px;background:var(--paper,#fff);color:var(--green,#245c43);font:inherit;font-size:15px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.analytics-choice:hover:not(:disabled){background:var(--soft,#edf3e7)}
.analytics-choice:disabled{opacity:1;border-color:var(--line,#dfe5d9);color:var(--muted,#56664f);background:var(--bg,#f6f7f2)}
.analytics-close,.analytics-settings{min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--green,#245c43);font:inherit;font-size:14px;line-height:1.6;text-decoration:underline;text-underline-offset:3px;white-space:normal}
.analytics-close{flex:0 1 auto}
.analytics-settings{max-width:100%}
@media(max-width:600px){.analytics-consent-box{padding:9px 12px}.analytics-actions{flex-basis:100%}.analytics-consent-copy{flex-basis:100%}}
