/* Composer attachment menu: high-contrast, accessible and polished. */
.attach-menu{
  position:absolute!important;
  left:8px!important;
  bottom:64px!important;
  width:280px!important;
  max-width:calc(100vw - 28px)!important;
  max-height:min(360px,calc(100vh - 180px))!important;
  box-sizing:border-box!important;
  padding:7px!important;
  display:none!important;
  z-index:1000!important;
  background:#fff!important;
  color:#202123!important;
  border:1px solid #d9e1e7!important;
  border-radius:14px!important;
  box-shadow:0 16px 40px rgba(0,0,0,.18),0 3px 10px rgba(0,0,0,.08)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(7px) scale(.985)!important;
  transform-origin:bottom left!important;
  pointer-events:none!important;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease!important;
}
.attach-menu.open{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0) scale(1)!important;
  pointer-events:auto!important;
}
.attach-menu::-webkit-scrollbar{width:7px!important}
.attach-menu::-webkit-scrollbar-thumb{background:#cbd5dc!important;border-radius:10px!important}
.attach-menu .menu-title{
  display:block!important;
  padding:8px 10px 7px!important;
  margin:0 0 3px!important;
  color:#5f6872!important;
  -webkit-text-fill-color:#5f6872!important;
  background:#f5f7f8!important;
  border-radius:9px!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.25!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.attach-menu button{
  width:100%!important;
  min-height:54px!important;
  height:auto!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  padding:9px 10px!important;
  margin:1px 0!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#202123!important;
  -webkit-text-fill-color:#202123!important;
  text-align:left!important;
  box-shadow:none!important;
  transform:none!important;
  cursor:pointer!important;
}
.attach-menu button:hover,
.attach-menu button:focus-visible{
  background:#eef2f4!important;
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
  outline:none!important;
}
.attach-menu button:active{background:#e7ecef!important}
.attach-menu button:focus-visible{box-shadow:inset 0 0 0 2px rgba(21,153,194,.28)!important}
.attach-menu button .menu-icon{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#eef4f7!important;
  color:#334155!important;
  -webkit-text-fill-color:#334155!important;
  font-size:17px!important;
  line-height:1!important;
}
.attach-menu button>span:last-child{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  color:#202123!important;
  -webkit-text-fill-color:#202123!important;
}
.attach-menu button strong{
  display:block!important;
  color:#202123!important;
  -webkit-text-fill-color:#202123!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
.attach-menu button small{
  display:block!important;
  color:#6b7280!important;
  -webkit-text-fill-color:#6b7280!important;
  font-size:11px!important;
  font-weight:450!important;
  line-height:1.3!important;
}
.attach-menu button svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
}
.composer:has(.attach-menu.open){z-index:100!important}
@media(max-width:760px){
  .attach-menu{
    left:0!important;
    bottom:60px!important;
    width:min(280px,calc(100vw - 28px))!important;
    max-height:min(330px,calc(100vh - 150px))!important;
  }
}