/* Consent banner must sit above the assistant FAB (.r8-chat-fab, z-index 300)
   and the chat panel (.r8-chat, z-index 310). Mobile chat used to cover Accept/Decline. */
#sm-consent{
  position:fixed;
  z-index:5000 !important;
  left:16px;
  right:16px;
  bottom:calc(16px + env(safe-area-inset-bottom, 0px));
  max-width:440px;
  pointer-events:auto;
  isolation:isolate;
}
#sm-consent .consent-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  position:relative;
  z-index:1;
}
#sm-consent button{
  min-height:44px;
  min-width:44px;
  flex:1 1 auto;
  pointer-events:auto;
  position:relative;
  z-index:1;
  touch-action:manipulation;
}
html:not([data-consent]) .r8-chat-fab,
html:not([data-consent]) .r8-chat,
body:has(#sm-consent) .r8-chat-fab,
body:has(#sm-consent) .r8-chat{
  display:none !important;
}
