#cookieModal {
  left:12px;
  right:12px;
  width:auto;
  max-width:1120px!important;
  margin:0 auto!important;
  box-sizing:border-box;
  max-height:calc(100vh - 100px);
  max-height:calc(100dvh - 100px);
  overflow-y:auto;
}
#cookieModal .toast-header { display:flex; flex-wrap:wrap; gap:8px; padding:10px 12px; }
#cookieModal .toast-header strong { min-width:0; }
#cookieModal .toast-header button { white-space:normal; margin:0!important; }
#cookieModal .toast-body { padding:12px; overflow-wrap:anywhere; }
#tt-cookie-reopen {
  position:fixed;
  left:0;
  bottom:0;
  z-index:998;
  border:1px solid #cbd5e1;
  border-left:0;
  border-bottom:0;
  border-radius:0 10px 0 0;
  background:#fff;
  color:#334155;
  padding:7px 12px;
  font-size:12px;
  line-height:1.4;
  cursor:pointer;
}
#tt-cookie-reopen:focus-visible { outline:2px solid #7c3aed; outline-offset:-3px; }
body.tt-cookie-visible #take-agent-launcher { bottom:calc(var(--tt-cookie-space, 0px) + 12px)!important; }
body.tt-cookie-visible .tt-agent-teaser { display:none!important; }
@media(max-width:640px) {
  #cookieModal { left:8px; right:8px; max-width:calc(100% - 16px)!important; }
  #cookieModal .toast-header { display:grid; grid-template-columns:40px minmax(0,1fr) minmax(0,1fr); align-items:stretch; }
  #cookieModal .toast-header strong { grid-column:1 / -1; margin:0!important; }
  #cookieModal .toast-header button { width:100%; padding:7px 6px; font-size:12px; }
  #cookieModal .toast-body { font-size:13px; line-height:1.5; }
  body.tt-cookie-visible .tt-agent-button-text { display:none; }
  body.tt-cookie-visible .tt-agent-button { padding:8px; }
}
