/* Cookie choice: a slim bar at the foot of the window (assets/consent.js builds and shows it).
   The site's tokens only. Not a wall: the page behind stays in use and keeps room for the bar.
   Every button is the site's outline button, the same size and weight; the action colour is not used here.
   "Choose" opens a second row inside the bar: two switches (real checkboxes, drawn as switches) and "Save choices". */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--white);border-top:1px solid var(--border);box-shadow:0 -6px 20px rgba(21,29,53,.1)}
.consent[hidden]{display:none}
.consent-in{max-width:1200px;margin:0 auto;padding:12px var(--gutter);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
.consent-text{margin:0;flex:1 1 16rem;font-size:var(--f-small);line-height:1.5;color:var(--text-2)}
.consent-text a{margin-left:10px;color:var(--text);white-space:nowrap}
.consent-actions{display:flex;gap:12px}
.consent-btn{flex:1 1 0;justify-content:center;min-width:7.5rem;min-height:44px;padding:10px 20px}
.consent-choose{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 24px;padding-top:12px;border-top:1px solid var(--border)}
.consent-choose[hidden]{display:none}
.consent-switch{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:var(--f-small);line-height:1.5;color:var(--text);cursor:pointer}
.consent-check{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:44px;height:24px;margin:0;border-radius:12px;background:var(--white);box-shadow:inset 0 0 0 2px var(--navy-900);cursor:pointer;transition:background-color .15s}
.consent-check::before{content:"";position:absolute;top:5px;left:5px;width:14px;height:14px;border-radius:50%;background:var(--navy-900);transition:transform .15s}
.consent-check:checked{background:var(--navy-900)}
.consent-check:checked::before{background:var(--white);transform:translateX(20px)}
.consent-check:focus-visible{outline:3px solid var(--ring);outline-offset:3px;border-radius:12px}
.consent-save{flex:0 0 auto}
html.consent-open{scroll-padding-bottom:var(--consent-height,0px)}
html.consent-open body{padding-bottom:var(--consent-height,0px)}
@media (max-width:640px){
  .consent-actions{flex:1 1 100%}
  .consent-btn{min-width:0;padding-inline:12px}
  .consent-choose{justify-content:space-between}
  .consent-save{flex:1 1 100%}
}
