/* Cookie consent dialog — see consent.js. Uses the site's own variables where they exist, with plain
   fallbacks. Fixed to the corner: it never shifts the layout, never covers more than its own card, and
   has no backdrop. Three equal buttons: no colour, size or weight difference between Accept, Reject
   and Customize (SEO team build rule 9). */
#cc-consent {
  position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: 16px;
  max-width: 440px; margin-left: auto;
  box-sizing: border-box; padding: 20px 22px 18px;
  background: var(--cc-bg, var(--surface, var(--paper, #fff)));
  color: var(--cc-fg, var(--ink, var(--text, #1b1b1b)));
  border: 1px solid var(--cc-line, rgba(0,0,0,.14));
  border-radius: var(--cc-radius, var(--radius, 10px));
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  font: 15px/1.5 var(--cc-font, var(--body, var(--font-body, system-ui, sans-serif)));
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
#cc-consent.cc-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #cc-consent { transition: none; transform: none; } }
@media (max-width: 480px) { #cc-consent { left: 10px; right: 10px; bottom: 10px; padding: 18px 16px 16px; } }

#cc-consent .cc-title { margin: 0 28px 8px 0; font: 600 17px/1.3 var(--cc-font-head, var(--display, var(--font-head, inherit))); color: inherit; outline-offset: 4px; }
#cc-consent .cc-body { margin: 0 0 14px; font-size: 14px; }
#cc-consent .cc-body a { color: inherit; text-decoration: underline; }
#cc-consent .cc-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: inherit; font: 22px/1 inherit; cursor: pointer; border-radius: 6px; }
#cc-consent .cc-close:hover, #cc-consent .cc-close:focus-visible { background: rgba(0,0,0,.06); }

#cc-consent .cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#cc-consent .cc-btn {
  flex: 1 1 120px; min-height: 44px; padding: 10px 14px;
  border: 1.5px solid var(--cc-btn-line, var(--accent, var(--brand, #1b1b1b)));
  background: transparent; color: inherit;
  font: 600 14px/1.2 inherit; letter-spacing: .01em; cursor: pointer;
  border-radius: var(--cc-btn-radius, var(--radius, 8px));
}
#cc-consent .cc-btn:hover { background: rgba(0,0,0,.05); }
#cc-consent .cc-btn:focus-visible, #cc-consent input:focus-visible, #cc-consent .cc-close:focus-visible { outline: 3px solid var(--cc-focus, var(--accent, #1b1b1b)); outline-offset: 2px; }

#cc-consent .cc-detail { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--cc-line, rgba(0,0,0,.14)); }
#cc-consent .cc-detail[hidden] { display: none; }
#cc-consent .cc-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 0 0 10px; }
#cc-consent .cc-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cc-accent, var(--accent, #1b1b1b)); }
#cc-consent .cc-row label { display: grid; gap: 2px; font-size: 14px; cursor: pointer; }
#cc-consent .cc-row label b { font-weight: 600; }
#cc-consent .cc-row label span { opacity: .78; font-size: 13px; }
#cc-consent .cc-row input:disabled + label { cursor: default; }
#cc-consent .cc-detail .cc-actions { margin-top: 4px; }

/* the footer "Cookie settings" link, wherever a site puts it: inherits the footer text, underlined like a link */
.cc-settings { color: inherit; text-decoration: underline; text-underline-offset: .15em; margin-left: .6em; white-space: nowrap }
.cc-settings:hover, .cc-settings:focus-visible { text-decoration-thickness: 2px }
li > .cc-settings, p.cc-settings-row > .cc-settings { margin-left: 0 }
.cc-settings-row { margin: .6rem 0 0; font-size: .85em }
