/* The cookie banner of consent.mjs. Every colour is a variable of site.css, so the light theme follows
   by itself; tools/consent.test.mjs measures each pair (4.5:1 for text, 3:1 for the rest) in both
   themes. The banner stays still: it shows and hides without any effect.
   The home page has cards of its own with the class "cc" (`a.cc` in site.css). Two things keep them apart
   from the banner, both checked by tools/consent.test.mjs: every selector here starts with `section.cc`, so no
   rule of this file reaches a card; and the banner states its own width, transition and hover, so no rule of
   site.css on `.cc` restyles the banner. */
section.cc{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:200;box-sizing:border-box;width:auto;max-height:calc(100vh - 24px);overflow:auto;padding:16px;border:1px solid var(--dk-ln);border-radius:16px;background:var(--dk-pn);color:var(--dk-tx);box-shadow:0 8px 32px rgba(0,0,0,.35);font-size:.875rem;line-height:1.5;transition:none}
section.cc:hover{transform:none;border-color:var(--dk-ln)}
section.cc .cc-title{margin:0 0 6px;font-size:.9375rem;font-weight:800;color:var(--dk-tx)}
section.cc .cc-text{margin:0 0 6px;color:var(--dk-mu)}
section.cc .cc-link{display:inline-flex;align-items:center;min-height:32px;margin:0 0 10px;color:var(--dk-ac);text-decoration:underline;text-underline-offset:3px}
section.cc .cc-actions{display:flex;gap:12px}
section.cc .cc-btn{flex:1 1 0;min-height:44px;padding:10px 16px;border:2px solid var(--dk-ac);border-radius:99px;background:var(--dk-ac);color:var(--dk-bg);font:inherit;font-weight:700;cursor:pointer}
section.cc:focus-visible{outline:3px solid var(--dk-tx);outline-offset:2px}
section.cc :focus-visible{outline:3px solid var(--dk-tx);outline-offset:3px}
@media (min-width:40rem){section.cc{left:auto;right:max(16px,env(safe-area-inset-right));bottom:16px;width:24rem}}
@media print{section.cc{display:none}}
