
/* ------------------------------------------------------------- consent
   The cookie card, in the design brief's voice: a frosted glass panel (the
   nav's own material) floating over the page, a mono uppercase eyebrow, and
   one high-contrast primary — cream on the dark page, pine on the light one.
   It rises in on the site's ease-out once the page has settled, its contents
   a beat behind. One rule set serves both theme models: this site marks light
   with data-theme="light", the Support Center with no attribute, so "light"
   here is :not([data-theme="dark"]). The Support Center copies this section
   (support/public-site/sync-header.mjs) — keep it self-contained: literal
   colours and fonts, no site tokens. */
#bw-consent{position:fixed; z-index:2147483000; left:50%; bottom:20px; width:min(660px, calc(100vw - 32px));
  font-family:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color:#F4EFE1;
  background:rgba(14,19,16,.84); -webkit-backdrop-filter:blur(24px) saturate(140%); backdrop-filter:blur(24px) saturate(140%);
  border:1px solid rgba(244,239,225,.14); border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.38), 0 2px 6px rgba(0,0,0,.2), inset 0 1px 0 rgba(244,239,225,.06);
  transform:translate(-50%, calc(100% + 32px)) scale(.98); opacity:0;
  transition:transform .65s cubic-bezier(.16,1,.3,1), opacity .35s ease;}
#bw-consent[hidden]{display:none;}
#bw-consent.bw-up{transform:translate(-50%, 0) scale(1); opacity:1;}
html:not([data-theme="dark"]) #bw-consent{color:#1E3D2F; background:rgba(252,250,244,.9);
  border-color:rgba(30,61,47,.16); box-shadow:0 18px 40px rgba(30,61,47,.18), 0 2px 6px rgba(30,61,47,.08), inset 0 1px 0 #fff;}
.bw-consent-in{display:flex; align-items:center; flex-wrap:wrap; gap:14px 18px; padding:14px 14px 14px 16px;}
/* contents follow the card up, a beat apart */
.bw-consent-in > *{opacity:0; transform:translateY(6px); transition:opacity .4s ease, transform .55s cubic-bezier(.16,1,.3,1);}
#bw-consent.bw-up .bw-consent-in > *{opacity:1; transform:none;}
#bw-consent.bw-up .bw-consent-in > :nth-child(1){transition-delay:.12s;}
#bw-consent.bw-up .bw-consent-in > :nth-child(2){transition-delay:.18s;}
#bw-consent.bw-up .bw-consent-in > :nth-child(3){transition-delay:.24s;}
.bw-consent-chip{flex:none; width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  background:rgba(215,165,68,.14); box-shadow:inset 0 0 0 1px rgba(215,165,68,.32);}
.bw-consent-icon{display:block; width:22px; height:22px; color:#D7A544;}
html:not([data-theme="dark"]) .bw-consent-chip{background:rgba(184,134,43,.12); box-shadow:inset 0 0 0 1px rgba(184,134,43,.3);}
html:not([data-theme="dark"]) .bw-consent-icon{color:#9A6E1F;}
.bw-consent-copy{flex:1 1 220px; min-width:0; display:flex; flex-direction:column; gap:5px;}
.bw-consent-k{font:500 10.5px/1 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:.16em; text-transform:uppercase; color:#D7A544;}
html:not([data-theme="dark"]) .bw-consent-k{color:#9A6E1F;}
#bw-consent p{margin:0; font-size:13.5px; line-height:1.45; color:rgba(244,239,225,.74); text-wrap:pretty;}
html:not([data-theme="dark"]) #bw-consent p{color:rgba(36,33,27,.74);}
#bw-consent p a{color:#F4EFE1; text-decoration:none; border-bottom:1px solid rgba(244,239,225,.35); padding-bottom:1px; transition:border-color .2s ease;}
#bw-consent p a:hover{border-color:#D7A544;}
html:not([data-theme="dark"]) #bw-consent p a{color:#1E3D2F; border-bottom-color:rgba(30,61,47,.35);}
html:not([data-theme="dark"]) #bw-consent p a:hover{border-bottom-color:#B8862B;}
.bw-consent-btns{display:flex; gap:8px; flex:none;}
.bw-consent-b{font:600 13px/1 'IBM Plex Sans', system-ui, sans-serif; min-height:40px; padding:11px 18px; border-radius:999px;
  cursor:pointer; white-space:nowrap; border:1px solid transparent;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .35s cubic-bezier(.16,1,.3,1);}
.bw-consent-b:active{transform:scale(.97);}
.bw-consent-b:focus-visible{outline:2px solid #D7A544; outline-offset:2px;}
.bw-consent-b.ghost{background:transparent; color:#F4EFE1; border-color:rgba(244,239,225,.26);}
.bw-consent-b.ghost:hover{border-color:#F4EFE1; background:rgba(244,239,225,.06);}
.bw-consent-b.solid{background:#F4EFE1; color:#0E1D16;}
.bw-consent-b.solid:hover{background:#fff;}
html:not([data-theme="dark"]) .bw-consent-b.ghost{color:#1E3D2F; border-color:rgba(30,61,47,.28);}
html:not([data-theme="dark"]) .bw-consent-b.ghost:hover{border-color:#1E3D2F; background:rgba(30,61,47,.05);}
html:not([data-theme="dark"]) .bw-consent-b.solid{background:#1E3D2F; color:#F4EFE1;}
html:not([data-theme="dark"]) .bw-consent-b.solid:hover{background:#142B21;}
.bw-c-short{display:none;}
/* Phones (2026-10-08): one capsule row, inset from the screen's rounded
   corners and lifted clear of the home indicator / Safari's bottom bar. */
@media (max-width:560px){
  /* equal insets, not 100vw: on iOS 100vw overruns the visual viewport */
  #bw-consent{left:max(10px, env(safe-area-inset-left, 0px)); right:max(10px, env(safe-area-inset-right, 0px)); width:auto;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px)); border-radius:30px; transform:translateY(calc(100% + 40px)) scale(.98);}
  #bw-consent.bw-up{transform:translateY(0) scale(1);}
  .bw-consent-in{flex-wrap:nowrap; padding:8px 8px 8px 18px; gap:10px;}
  .bw-consent-chip,.bw-consent-k,.bw-c-long{display:none;}
  .bw-c-short{display:inline;}
  .bw-consent-copy{flex:1 1 auto;}
  #bw-consent p{font-size:13.5px; line-height:1.35;}
  .bw-consent-btns{width:auto;}
  .bw-consent-b{flex:none; min-height:44px; padding:0 16px;}
}
@media (prefers-reduced-motion: reduce){
  #bw-consent{transform:translate(-50%, 0); transition:opacity .2s ease;}
  .bw-consent-in > *{transform:none; transition:opacity .2s ease;}
}
@media (prefers-reduced-motion: reduce) and (max-width:560px){ #bw-consent, #bw-consent.bw-up{transform:none;} }
@media (prefers-reduced-transparency: reduce){
  #bw-consent{background:#0E1310; -webkit-backdrop-filter:none; backdrop-filter:none;}
  html:not([data-theme="dark"]) #bw-consent{background:#FCFAF4;}
}
/* end consent */
