/* Inbox Standard: cookie consent banner. Works on any v2 page; colors fall back if tokens are missing.
   The banner is dark in both light and dark mode; the night tokens shift slightly in dark mode. */
.cookie-banner{
  position:fixed;left:50%;bottom:20px;z-index:100;
  width:min(720px, calc(100% - 32px));
  display:flex;align-items:center;gap:16px 24px;
  padding:18px 20px 18px 24px;
  background:var(--night,#0E1424);color:#F1F3F8;
  border:1px solid var(--night-line,#2A3248);border-radius:14px;
  box-shadow:0 18px 40px -12px rgba(14,20,36,.45);
  font-family:var(--font-body,Inter,system-ui,sans-serif);
  transform:translate(-50%,16px);opacity:0;
  transition:transform .25s ease,opacity .25s ease;
}
.cookie-banner.is-visible{transform:translate(-50%,0);opacity:1;}
.cookie-banner[hidden]{display:none;}
.cookie-text{margin:0;flex:1;font-size:15px;line-height:1.5;color:var(--night-ink,#B8BFD0);}
.cookie-text a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;}
.cookie-text a:hover{color:var(--night-accent,#859DFF);}
.cookie-actions{display:flex;gap:10px;flex:none;}
.cookie-btn{
  min-height:44px;min-width:96px;padding:0 18px;border-radius:8px;
  font:inherit;font-size:15px;font-weight:600;cursor:pointer;
  border:1px solid transparent;transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.cookie-btn-accept{background:#0D37F6;color:#fff;}
.cookie-btn-accept:hover{background:#2A50FF;}
.cookie-btn-decline{background:transparent;color:#fff;border-color:#4A5470;}
.cookie-btn-decline:hover{border-color:#fff;}
.cookie-btn:focus-visible,.cookie-text a:focus-visible{outline:2px solid var(--night-accent,#859DFF);outline-offset:3px;}

/* Footer "Cookie settings" link (a button so it works without a URL) */
.cookie-settings{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer;}
.cookie-settings:hover{color:var(--accent,#0D37F6);}

@media (max-width:640px){
  .cookie-banner{flex-direction:column;align-items:stretch;bottom:12px;width:calc(100% - 24px);padding:18px;}
  .cookie-actions .cookie-btn{flex:1;}
}
@media (prefers-reduced-motion:reduce){
  .cookie-banner{transition:none;transform:translate(-50%,0);}
}
