/* Consent is a compact part of the site, with an equally accessible refusal. */
.analytics-consent {
  position:fixed; z-index:80; inset:auto 24px 24px auto;
  display:grid; grid-template-columns:minmax(0,1fr) 200px; gap:24px;
  width:min(800px,calc(100% - 48px)); max-height:calc(100svh - 48px);
  overflow:auto; padding:24px; border:1px solid var(--line);
  border-radius:var(--radius); background:var(--paper); color:var(--ink);
  box-shadow:0 8px 32px #302c291f;
}
.analytics-consent h2 {
  margin:0 0 8px; font:600 20px/1.5 var(--body); letter-spacing:-.02em;
  text-transform:none;
}
.analytics-consent p { margin:0; font-size:13px; line-height:1.75; color:var(--muted); }
.analytics-consent p a { color:var(--coral-dark); text-decoration:underline; text-underline-offset:3px; }
.analytics-consent-actions { display:flex; flex-direction:column; justify-content:center; gap:8px; }
.analytics-consent-actions button {
  min-height:48px; padding:10px 16px; border:1px solid var(--muted);
  border-radius:var(--radius); background:var(--white); color:var(--ink);
  font:600 13px/1.5 var(--body); white-space:normal;
}
.analytics-consent-actions [data-analytics-accept] { background:var(--coral); border-color:var(--coral-dark); }
.analytics-consent-actions button:hover { background:var(--salmon-soft); }
[data-analytics-settings] {
  padding:0; border:0; background:none; color:inherit; font:inherit;
  text-decoration:underline; text-underline-offset:3px;
}
@media (max-width:600px) {
  .analytics-consent {
    inset:auto 16px 16px; width:auto; max-height:calc(100svh - 32px);
    grid-template-columns:minmax(0,1fr); gap:16px; padding:20px;
  }
  .analytics-consent h2 { font-size:18px; }
  .analytics-consent-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .analytics-consent-actions button { padding:10px 8px; }
}
@media (max-width:360px) {
  .analytics-consent { padding:16px; }
  .analytics-consent-actions { grid-template-columns:1fr; }
}
