/* Cookie choice bar (TTS-328), shown only while Google Analytics is on.
   Uses the site's colour tokens where present, with safe fallbacks. */

.av-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  background: var(--card, #fff); color: var(--ink, #14172b);
  border: 1px solid var(--line, #e3e5ef); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 23, 43, .16);
  font-size: 14.5px; line-height: 1.45;
}
.av-consent p { margin: 0; flex: 1 1 320px; }
.av-consent a { color: var(--accent, #4f46e5); }
.av-consent-actions { display: flex; gap: 8px; }
.av-consent-btn {
  min-width: 96px; padding: 9px 16px; border-radius: 10px; cursor: pointer;
  font: inherit; font-weight: 600;
  border: 1px solid var(--line, #e3e5ef); background: var(--card, #fff); color: var(--ink, #14172b);
}
.av-consent-primary { background: var(--accent, #4f46e5); border-color: var(--accent, #4f46e5); color: var(--accent-ink, #fff); }
.av-consent-btn:focus-visible, .av-consent-link:focus-visible { outline: 2px solid var(--accent, #4f46e5); outline-offset: 2px; }
.av-consent-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 480px) {
  .av-consent-actions { width: 100%; }
  .av-consent-btn { flex: 1; }
}
