.attachment-menu__mount {
  position: relative;
  align-self: end;
}

.attachment-menu__trigger {
  width: 42px;
  height: 37px;
  border: 1px solid rgba(176, 191, 255, .34);
  border-radius: 12px;
  color: var(--text);
  background: var(--soft-accent-bg);
  box-shadow: 0 0 14px rgba(110, 132, 255, .14);
  font-size: 21px;
  font-weight: 500;
}

.attachment-menu__panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 12;
  width: 142px;
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: var(--menu-bg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .48);
}

.attachment-menu__panel[hidden] {
  display: none;
}

.attachment-menu__item {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  color: var(--menu-text);
  background: var(--menu-item);
  font-size: 13px;
  font-weight: 700;
}

.attachment-menu__item:disabled,
.attachment-menu__trigger:disabled {
  opacity: .5;
}

@media (max-width: 375px) {
  .attachment-menu__panel {
    width: 132px;
    left: 0;
  }
}
